From 5d2b3a0a5a24fb4847e571f5ca4cee7bff9f985c Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Thu, 16 Oct 2008 23:03:40 +0000 Subject: 2008-10-16 Joel Sherrill * libc/include/sys/unistd.h: RTEMS follows standard for sync(). --- newlib/libc/include/sys/unistd.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'newlib/libc') diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index 8a296fe3b..5be5266c5 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -229,10 +229,8 @@ useconds_t _EXFUN(ualarm, (useconds_t __useconds, useconds_t __interval)); 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)); -- cgit v1.2.3