Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2005-02-22 18:31:51 +0300
committerCorinna Vinschen <corinna@vinschen.de>2005-02-22 18:31:51 +0300
commit5e4c05da0b558ea0fa085810c4709d78bda08027 (patch)
treecdee3cf7d0bbbdc3e377ac9de213759074ae5044
parenta62f6b806ebe83a6158133084d7ce104e0e2fa62 (diff)
* libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/include/sys/unistd.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index fa8a146b4..25ade3e36 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2005-02-22 Corinna Vinschen <corinna@vinschen.de>
+
+ * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
+
2005-02-16 Eric Blake <ebb9@byu.net>
* libc/time/time.tex: Improve the documentation.
diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h
index 46db13c27..9b845746a 100644
--- a/newlib/libc/include/sys/unistd.h
+++ b/newlib/libc/include/sys/unistd.h
@@ -53,9 +53,7 @@ int _EXFUN(fchown, (int __fildes, uid_t __owner, gid_t __group ));
pid_t _EXFUN(fork, (void ));
long _EXFUN(fpathconf, (int __fd, int __name ));
int _EXFUN(fsync, (int __fd));
-#ifndef __CYGWIN__
int _EXFUN(fdatasync, (int __fd));
-#endif
char _EXFUN(*getcwd, (char *__buf, size_t __size ));
#if defined(__CYGWIN__)
int _EXFUN(getdomainname ,(char *__name, size_t __len));