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]

Re: rtems sync() now follows OpenGroup


Joel Sherrill wrote:
Hi,

Another small patch.  RTEMS sync() now follows Open
Group.  If you spot other cases where RTEMS has a
special path in an include to be non-standard,
please point it out.  We will correct it.

2008-10-15 Joel Sherrill <joel.sherrill@oarcorp.com>

* libc/include/sys/unistd.h: RTEMS follows standard for sync().


Index: libc/include/sys/unistd.h =================================================================== RCS file: /cvs/src/src/newlib/libc/include/sys/unistd.h,v retrieving revision 1.67 diff -u -r1.67 unistd.h --- libc/include/sys/unistd.h 15 Oct 2008 21:37:54 -0000 1.67 +++ libc/include/sys/unistd.h 15 Oct 2008 22:33:33 -0000 @@ -229,10 +229,8 @@ char * _EXFUN(mktemp, (char *)); #endif

-#if defined(__CYGWIN__) || defined(__SPU__)
+#if defined(__CYGWIN__) || defined(__SPU__) || defined(__rtems__)
void    _EXFUN(sync, (void));
-#elif defined(__rtems__)
-int     _EXFUN(sync, (void));
#endif

ssize_t _EXFUN(readlink, (const char *__path, char *__buf, size_t __buflen));

Patch checked in.

-- Jeff J.


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