This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH] sys/dirent.h: Declare telldir and others
- From: "Shaun Jackman" <sjackman at gmail dot com>
- To: newlib at sources dot redhat dot com
- Date: Mon, 20 Mar 2006 17:08:25 -0700
- Subject: [PATCH] sys/dirent.h: Declare telldir and others
- Reply-to: "Shaun Jackman" <sjackman at gmail dot com>
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