This is the mail archive of the 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]

rtems sync() now follows OpenGroup


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 <>

* 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));

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

Joel Sherrill, Ph.D.             Director of Research & Development        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
  Support Available             (256) 722-9985

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