Add const to llfs_get_filename_ext
This commit is contained in:
2023-12-08 18:21:18 +01:00
committed by Sander Speetjens
parent a3da9017bf
commit 611ce460fb
2 changed files with 3 additions and 3 deletions

View File

@@ -86,8 +86,8 @@ size_t llfs_file_count(void);
/**
* @brief This function returns the extension of a file
* @param[in] filename The filename to get the extension from
* @return char* The extension of the file
* @return const char* The extension of the file
*/
char* llfs_get_filename_ext(char* filename);
const char* llfs_get_filename_ext(const char* filename);
#endif // LLFS_H