diff options
Diffstat (limited to 'libc/misc/dirent/alphasort64.c')
-rw-r--r-- | libc/misc/dirent/alphasort64.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libc/misc/dirent/alphasort64.c b/libc/misc/dirent/alphasort64.c index de7a87a9a..d65b59647 100644 --- a/libc/misc/dirent/alphasort64.c +++ b/libc/misc/dirent/alphasort64.c @@ -10,10 +10,7 @@ #include <string.h> #include "dirstream.h" -/* Experimentally off - libc_hidden_proto(strcmp) */ - -int alphasort64(const void * a, const void * b) +int alphasort64(const struct dirent64 **a, const struct dirent64 **b) { - return strcmp ((*(const struct dirent64 **) a)->d_name, - (*(const struct dirent64 **) b)->d_name); + return strcmp((*a)->d_name, (*b)->d_name); } |