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

* libc/include/sys/unistd.h: RTEMS follows standard for sync().
This commit is contained in:
Jeff Johnston 2008-10-16 23:03:40 +00:00
parent 01bf0593df
commit 5d2b3a0a5a
2 changed files with 9 additions and 7 deletions

View File

@ -1,8 +1,12 @@
2008-10-16 Joel Sherrill <joel.sherrill@oarcorp.com> 2008-10-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* libc/include/time.h: Add CLOCK_MONOTONIC. * libc/include/sys/unistd.h: RTEMS follows standard for sync().
* libc/include/sys/features.h: Define
_POSIX_MONOTONIC_CLOCK for RTEMS. 2008-10-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* libc/include/time.h: Add CLOCK_MONOTONIC.
* libc/include/sys/features.h: Define
_POSIX_MONOTONIC_CLOCK for RTEMS.
2008-10-15 Jeff Johnston <jjohnstn@redhat.com> 2008-10-15 Jeff Johnston <jjohnstn@redhat.com>

View File

@ -229,10 +229,8 @@ useconds_t _EXFUN(ualarm, (useconds_t __useconds, useconds_t __interval));
char * _EXFUN(mktemp, (char *)); char * _EXFUN(mktemp, (char *));
#endif #endif
#if defined(__CYGWIN__) || defined(__SPU__) #if defined(__CYGWIN__) || defined(__SPU__) || defined(__rtems__)
void _EXFUN(sync, (void)); void _EXFUN(sync, (void));
#elif defined(__rtems__)
int _EXFUN(sync, (void));
#endif #endif
ssize_t _EXFUN(readlink, (const char *__path, char *__buf, size_t __buflen)); ssize_t _EXFUN(readlink, (const char *__path, char *__buf, size_t __buflen));