aboutsummaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-11-26 12:53:17 +0000
committerUlrich Drepper <drepper@redhat.com>2007-11-26 12:53:17 +0000
commitae4287f8b28853c6c51b5b5aae5807d23730d1d5 (patch)
tree0b9f9d116b4cdbfdd844e737ddd1d31b7cb4a2f4 /posix
parent10a4c1e9c669d42e3d2812ca07a283dea514faef (diff)
downloadglibc-ae4287f8b28853c6c51b5b5aae5807d23730d1d5.tar
glibc-ae4287f8b28853c6c51b5b5aae5807d23730d1d5.tar.gz
glibc-ae4287f8b28853c6c51b5b5aae5807d23730d1d5.tar.bz2
glibc-ae4287f8b28853c6c51b5b5aae5807d23730d1d5.zip
Declare fsync also for Unix98.
2007-11-26 Ulrich Drepper <drepper@redhat.com> * posix/unistd.h: Declare fsync also for Unix98.
Diffstat (limited to 'posix')
-rw-r--r--posix/unistd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/unistd.h b/posix/unistd.h
index 476c1f3cbc..16dae0088c 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -915,13 +915,13 @@ extern char *getpass (__const char *__prompt) __nonnull ((1));
#endif /* Use BSD || X/Open. */
-#if defined __USE_BSD || defined __USE_XOPEN
+#if defined __USE_BSD || defined __USE_XOPEN || defined __USE_UNIX98
/* Make all changes done to FD actually appear on disk.
This function is a cancellation point and therefore not marked with
__THROW. */
extern int fsync (int __fd);
-#endif /* Use BSD || X/Open. */
+#endif /* Use BSD || X/Open || Unix98. */
#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED