* libc/include/sys/unistd.h (sync): Define void on Cygwin according

to SUSv3.
This commit is contained in:
Corinna Vinschen 2004-04-10 20:39:47 +00:00
parent bb0906507b
commit 54c7940fe5
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-04-10 Corinna Vinschen <corinna@vinschen.de>
* libc/include/sys/unistd.h (sync): Define void on Cygwin according
to SUSv3.
2004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
* libc/stdio/fclose.c (_fclose_r): New function.

View File

@ -202,7 +202,11 @@ unsigned _EXFUN(usleep, (unsigned int __useconds));
int _EXFUN(gethostname, (char *__name, size_t __len));
#endif
char * _EXFUN(mktemp, (char *));
#if defined(__CYGWIN__)
void _EXFUN(sync, (void));
#else /* defined(__rtems__) */
int _EXFUN(sync, (void));
#endif
int _EXFUN(readlink, (const char *__path, char *__buf, int __buflen));
int _EXFUN(symlink, (const char *__name1, const char *__name2));
#endif