aboutsummaryrefslogtreecommitdiff
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
parentd9822dbe663a7cefe32979e09a186f739ea8b769 (diff)
downloadglibc-8efb2f1ca042578c0c490a8c7677120c402e0455.tar
glibc-8efb2f1ca042578c0c490a8c7677120c402e0455.tar.gz
glibc-8efb2f1ca042578c0c490a8c7677120c402e0455.tar.bz2
glibc-8efb2f1ca042578c0c490a8c7677120c402e0455.zip
* dirent/scandir64.c (scandir64): Adjust declaration to type change.
-rw-r--r--ChangeLog4
-rw-r--r--dirent/scandir64.c5
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3bb4ed1204..3bdae6ab67 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-03-16 Thomas Schwinge <tschwinge@gnu.org>
+
+ * dirent/scandir64.c (scandir64): Adjust declaration to type change.
+
2009-03-16 Ulrich Drepper <drepper@redhat.com>
* nscd/connections.c (restart): Try to preserve the process name
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>