This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] sys/dirent.h: Declare telldir and others


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]