aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-11-26 22:53:40 +0000
committerUlrich Drepper <drepper@redhat.com>2007-11-26 22:53:40 +0000
commit6701afc727cb01bb2eff89f4ae5e56ba9eb721bc (patch)
tree21129713e94ce949efda32cb8cc7af9c1e7e32c8
parenta912a4f843365603e941093181f419a59bc2a37d (diff)
downloadglibc-6701afc727cb01bb2eff89f4ae5e56ba9eb721bc.tar
glibc-6701afc727cb01bb2eff89f4ae5e56ba9eb721bc.tar.gz
glibc-6701afc727cb01bb2eff89f4ae5e56ba9eb721bc.tar.bz2
glibc-6701afc727cb01bb2eff89f4ae5e56ba9eb721bc.zip
* posix/unistd.h: Declare fsync also for __USE_XOPEN2K.
-rw-r--r--ChangeLog2
-rw-r--r--posix/regex.h2
-rw-r--r--posix/unistd.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 030bec4671..1242767371 100644
--- 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.
diff --git a/posix/regex.h b/posix/regex.h
index 3fbbb05dfd..66f566e7b7 100644
--- a/posix/regex.h
+++ b/posix/regex.h
@@ -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
diff --git a/posix/unistd.h b/posix/unistd.h
index 16dae0088c..01ac3f8b41 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -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