* posix/unistd.h: Declare fsync also for __USE_XOPEN2K.
authorUlrich Drepper <drepper@redhat.com>
Mon, 26 Nov 2007 22:53:40 +0000 (22:53 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 26 Nov 2007 22:53:40 +0000 (22:53 +0000)
ChangeLog
posix/regex.h
posix/unistd.h

index 030bec4..1242767 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,6 @@
 2007-11-26  Ulrich Drepper  <drepper@redhat.com>
 
-       * posix/unistd.h: Declare fsync also for Unix98.
+       * posix/unistd.h: Declare fsync also for __USE_XOPEN2K.
        * posix/regex.h (REG_ENOSYS): Likewise.
        * wcsmbs/wchar.h: Define __need_file also for __USE_XOPEN2K.
 
index 3fbbb05..66f566e 100644 (file)
@@ -302,7 +302,7 @@ extern reg_syntax_t re_syntax_options;
    `re_error_msg' table in regex.c.  */
 typedef enum
 {
-#if defined _XOPEN_SOURCE || defined __USE_UNIX98
+#if defined _XOPEN_SOURCE || defined __USE_XOPEN2K
   REG_ENOSYS = -1,     /* This will never happen for this implementation.  */
 #endif
 
index 16dae00..01ac3f8 100644 (file)
@@ -915,7 +915,7 @@ extern char *getpass (__const char *__prompt) __nonnull ((1));
 #endif /* Use BSD || X/Open.  */
 
 
-#if defined __USE_BSD || defined __USE_XOPEN || defined __USE_UNIX98
+#if defined __USE_BSD || defined __USE_XOPEN || defined __USE_XOPEN2K
 /* Make all changes done to FD actually appear on disk.
 
    This function is a cancellation point and therefore not marked with