diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-04-19 12:01:05 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-04-19 12:01:05 +0100 |
commit | afea659fefe263040088e6dc8813cb18a6f3d219 (patch) | |
tree | d8d9e7cd71fa3019622b63bcb0f264a372074065 /utils/utils.h | |
parent | 1bc010665e53bdf226370ab12a7ae3f87250df4d (diff) | |
download | netsurf-afea659fefe263040088e6dc8813cb18a6f3d219.tar.gz netsurf-afea659fefe263040088e6dc8813cb18a6f3d219.tar.bz2 |
move dir_sort_alpha function from generic utils to one specific place it is used
Diffstat (limited to 'utils/utils.h')
-rw-r--r-- | utils/utils.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/utils/utils.h b/utils/utils.h index ce3158de1..5fa521c01 100644 --- a/utils/utils.h +++ b/utils/utils.h @@ -231,17 +231,6 @@ nserror vsnstrjoin(char **str, size_t *size, char sep, size_t nelm, va_list ap); */ nserror snstrjoin(char **str, size_t *size, char sep, size_t nelm, ...); -/** - * Comparison function for sorting directories. - * - * Correctly orders non zero-padded numerical parts. - * ie. produces "file1, file2, file10" rather than "file1, file10, file2". - * - * d1 first directory entry - * d2 second directory entry - */ -int dir_sort_alpha(const struct dirent **d1, const struct dirent **d2); - /* Platform specific functions */ void warn_user(const char *warning, const char *detail); |