diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-03-17 00:35:38 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-03-17 00:35:38 +0000 |
commit | 3fb8a93ae97838eaa51cc043678c9d7c2c9bc027 (patch) | |
tree | 1c407c4a9ccaa5a4e238af9ad1518507700c753d /include | |
parent | ae8d7b447701c455c3b4e9b345c6bc02f9d92504 (diff) | |
download | glibc-3fb8a93ae97838eaa51cc043678c9d7c2c9bc027.tar.gz glibc-3fb8a93ae97838eaa51cc043678c9d7c2c9bc027.tar.xz glibc-3fb8a93ae97838eaa51cc043678c9d7c2c9bc027.zip |
Yet more changes to match sort function type change.
Diffstat (limited to 'include')
-rw-r--r-- | include/dirent.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/dirent.h b/include/dirent.h index 8f23aee234..3f6c4b9ae5 100644 --- a/include/dirent.h +++ b/include/dirent.h @@ -17,14 +17,16 @@ extern int __readdir64_r (DIR *__dirp, struct dirent64 *__entry, extern int __scandir64 (__const char * __dir, struct dirent64 *** __namelist, int (*__selector) (__const struct dirent64 *), - int (*__cmp) (__const void *, __const void *)); + int (*__cmp) (__const struct dirent64 **, + __const struct dirent64 **)); extern __ssize_t __getdents (int __fd, char *__buf, size_t __nbytes) internal_function; extern __ssize_t __getdents64 (int __fd, char *__buf, size_t __nbytes) internal_function; -extern int __alphasort64 (const void *a, const void *b) +extern int __alphasort64 (const struct dirent64 **a, const struct dirent64 **b) __attribute_pure__; -extern int __versionsort64 (const void *a, const void *b) +extern int __versionsort64 (const struct dirent64 **a, + const struct dirent64 **b) __attribute_pure__; extern DIR *__alloc_dir (int fd, bool close_fd, const struct stat64 *statp) internal_function; |