[PATCH] sys/dirent.h: Declare telldir and others
Shaun Jackman
sjackman@gmail.com
Tue Mar 21 00:43:00 GMT 2006
2006-03-20 Shaun Jackman <sjackman@gmail.com>
* libc/sys/linux/sys/dirent.h: Declare telldir and others
regardless of _POSIX_SOURCE.
Index: libc/sys/linux/sys/dirent.h
===================================================================
RCS file: /cvs/src/src/newlib/libc/sys/linux/sys/dirent.h,v
retrieving revision 1.5
diff -u -r1.5 dirent.h
--- libc/sys/linux/sys/dirent.h 8 Sep 2005 22:45:53 -0000 1.5
+++ libc/sys/linux/sys/dirent.h 21 Mar 2006 00:07:31 -0000
@@ -43,7 +43,6 @@
void _seekdir(DIR *dir,off_t offset);
DIR *_opendir(const char *);
-#ifndef _POSIX_SOURCE
long telldir (DIR *);
void seekdir (DIR *, off_t loc);
@@ -53,6 +52,5 @@
int (*compar) (const struct dirent **, const struct dirent **));
int alphasort (const struct dirent **__a, const struct dirent **__b);
-#endif /* _POSIX_SOURCE */
#endif
More information about the Newlib
mailing list