diff options
author | Michael Pavone <pavone@retrodev.com> | 2018-02-06 22:44:11 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2018-02-06 22:44:11 -0800 |
commit | 60e74d48cd8c59f412128d98908f2b04b2b07586 (patch) | |
tree | 0e4120d0cb24e2c5dced5757ae07b63894a35cee /util.h | |
parent | d728432b713702b6a564e3532930e380dd5d3f28 (diff) |
Fix const correctness for path_extension
--HG--
branch : nuklear_ui
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -41,7 +41,7 @@ char is_absolute_path(char *path); //Returns the basename of a path with th extension (if any) stripped char * basename_no_extension(char *path); //Returns the extension from a path or NULL if there is no extension -char *path_extension(char *path); +char *path_extension(char const *path); //Returns true if the given path matches one of the extensions in the list uint8_t path_matches_extensions(char *path, char **ext_list, uint32_t num_exts); //Returns the directory portion of a path or NULL if there is no directory part |