about summary refs log tree commit diff
path: root/dirent
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-03-16 22:37:22 +0000
committerUlrich Drepper <drepper@redhat.com>2009-03-16 22:37:22 +0000
commit8efb2f1ca042578c0c490a8c7677120c402e0455 (patch)
tree9d0a6e2ec8c2d3f0c2bd5cfc11f06dd7527032c1 /dirent
parentd9822dbe663a7cefe32979e09a186f739ea8b769 (diff)
downloadglibc-8efb2f1ca042578c0c490a8c7677120c402e0455.tar.gz
glibc-8efb2f1ca042578c0c490a8c7677120c402e0455.tar.xz
glibc-8efb2f1ca042578c0c490a8c7677120c402e0455.zip
* dirent/scandir64.c (scandir64): Adjust declaration to type change.
Diffstat (limited to 'dirent')
-rw-r--r--dirent/scandir64.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/dirent/scandir64.c b/dirent/scandir64.c
index 68608de9a0..b7bd654658 100644
--- a/dirent/scandir64.c
+++ b/dirent/scandir64.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2009 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -25,6 +25,7 @@
 int scandir64 (__const char *__restrict __dir,
 	       struct dirent64 ***__restrict __namelist,
 	       int (*__selector) (__const struct dirent64 *),
-	       int (*__cmp) (__const void *, __const void *));
+	       int (*__cmp) (__const struct dirent64 **,
+			     __const struct dirent64 **));
 
 #include <dirent/scandir.c>