From 6beeb24016323fbe67a8c2ca32e07b279df4dfd3 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Mon, 28 Aug 2000 20:06:54 +0000 Subject: 2000-08-27 Werner Almesberger * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen only if _DIRENT_HAVE_D_NAMLEN is defined. (alphasort): aligned prototype with libc/sys/cygwin/sys/dirent.h and simplified function body. * libc/posix/telldir.c (telldir): changed "telldir" prototype to long telldir (DIR *) as mentioned in annex B of POSIX.1 --- newlib/libc/posix/telldir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newlib/libc/posix/telldir.c') diff --git a/newlib/libc/posix/telldir.c b/newlib/libc/posix/telldir.c index 90b12f99c..30c003760 100644 --- a/newlib/libc/posix/telldir.c +++ b/newlib/libc/posix/telldir.c @@ -73,7 +73,7 @@ static struct ddloc *dd_hash[NDIRHASH]; /* Hash list heads for ddlocs */ */ long telldir(dirp) - const DIR *dirp; + DIR *dirp; { register int index; register struct ddloc *lp; -- cgit v1.2.3