aboutsummaryrefslogtreecommitdiff
path: root/posix/unistd.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-02-26 21:32:56 -0500
committerUlrich Drepper <drepper@gmail.com>2012-02-26 21:32:56 -0500
commitd94a4670800de6e8f088b8630ad5142866127980 (patch)
tree77ce944c2371dc45a567104a47454da162579391 /posix/unistd.h
parent4a3dded52708e6d9be190a968f0f09ca57539e13 (diff)
downloadglibc-d94a4670800de6e8f088b8630ad5142866127980.zip
glibc-d94a4670800de6e8f088b8630ad5142866127980.tar.gz
glibc-d94a4670800de6e8f088b8630ad5142866127980.tar.bz2
Add first fixes for conformtest for POSIX2008
Diffstat (limited to 'posix/unistd.h')
-rw-r--r--posix/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/unistd.h b/posix/unistd.h
index 6f509e9..1f4d645 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -1158,7 +1158,7 @@ extern void swab (const void *__restrict __from, void *__restrict __to,
/* The Single Unix specification demands this prototype to be here.
It is also found in <stdio.h>. */
-#if defined __USE_XOPEN || defined __USE_XOPEN2K8
+#if defined __USE_XOPEN && !defined __USE_XOPEN2K
/* Return the name of the controlling terminal. */
extern char *ctermid (char *__s) __THROW;
#endif