summary refs log tree commit diff
path: root/dirent/dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'dirent/dirent.h')
-rw-r--r--dirent/dirent.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dirent/dirent.h b/dirent/dirent.h
index 01c44a2971..63986bfc0f 100644
--- a/dirent/dirent.h
+++ b/dirent/dirent.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,93,94,95,96,97,98 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
@@ -201,7 +201,7 @@ extern int dirfd __P ((DIR *__dirp));
    *NAMELIST.  Returns the number of entries selected, or -1 on error.  */
 extern int scandir __P ((__const char *__dir,
 			 struct dirent ***__namelist,
-			 int (*__selector) __P ((struct dirent *)),
+			 int (*__selector) __P ((__const struct dirent *)),
 			 int (*__cmp) __P ((__const __ptr_t,
 					    __const __ptr_t))));