summaryrefslogtreecommitdiff
path: root/dirent/scandir.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-20 07:27:17 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-20 07:27:17 +0000
commit9c1a1da9866c22c1626f2222cf5d03ef1b0ede3b (patch)
tree80b6809658be22c23971db93ab17f1beddaec4ca /dirent/scandir.c
parent838e5ffe9e0071859b635151729192dedbf104a7 (diff)
downloadglibc-9c1a1da9866c22c1626f2222cf5d03ef1b0ede3b.tar.gz
Update.
1998-03-20 12:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * posix/Makefile: Fix typo in last change. 1998-03-20 Ulrich Drepper <drepper@cygnus.com> * dirent/dirent.h (scandir): Make argument of select function const. * dirent/scandir.c (scandir): Likewise. Reported by David.Faure@insa-lyon.fr [PR libc/512]. 1998-03-18 Ulrich Drepper <drepper@cygnus.com> * sysdeps/i386/i686/Implies: Add libm-i387/i686.
Diffstat (limited to 'dirent/scandir.c')
-rw-r--r--dirent/scandir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dirent/scandir.c b/dirent/scandir.c
index 58a2c7519d..ef7531fa95 100644
--- a/dirent/scandir.c
+++ b/dirent/scandir.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 93, 94, 95, 96, 97 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 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
@@ -25,7 +25,7 @@ int
scandir (dir, namelist, select, cmp)
const char *dir;
struct dirent ***namelist;
- int (*select) __P ((struct dirent *));
+ int (*select) __P ((const struct dirent *));
int (*cmp) __P ((const void *, const void *));
{
DIR *dp = opendir (dir);