* posix/unistd.h: Declare fsync also for __USE_XOPEN2K.

This commit is contained in:
Ulrich Drepper 2007-11-26 22:53:40 +00:00
parent a912a4f843
commit 6701afc727
3 changed files with 3 additions and 3 deletions

View File

@ -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.

View 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

View 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