From ae4287f8b28853c6c51b5b5aae5807d23730d1d5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 26 Nov 2007 12:53:17 +0000 Subject: Declare fsync also for Unix98. 2007-11-26 Ulrich Drepper * posix/unistd.h: Declare fsync also for Unix98. --- posix/unistd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'posix') 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 -- cgit 1.4.1