about summary refs log tree commit diff
path: root/posix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-01-14 13:22:06 -0800
committerUlrich Drepper <drepper@redhat.com>2010-01-14 13:22:06 -0800
commit52e2ea9a83ba3c6ea3b39f0f138af4343c9d687c (patch)
treec7e03de546e1573f74ee6bf5343b7402d1db8620 /posix
parent63ee841069628f4af58f7e3c27ac17c7ae711c43 (diff)
downloadglibc-52e2ea9a83ba3c6ea3b39f0f138af4343c9d687c.tar.gz
glibc-52e2ea9a83ba3c6ea3b39f0f138af4343c9d687c.tar.xz
glibc-52e2ea9a83ba3c6ea3b39f0f138af4343c9d687c.zip
Relax visibility of some more declaration.
Diffstat (limited to 'posix')
-rw-r--r--posix/unistd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/unistd.h b/posix/unistd.h
index 611ddf02d1..d134ecf76b 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -986,16 +986,16 @@ extern long int gethostid (void);
 extern void sync (void) __THROW;
 
 
-# if defined __USE_GNU || !defined __USE_XOPEN2K
+# if defined __USE_BSD || !defined __USE_XOPEN2K
 /* Return the number of bytes in a page.  This is the system's page size,
    which is not necessarily the same as the hardware page size.  */
 extern int getpagesize (void)  __THROW __attribute__ ((__const__));
-# endif
 
 
 /* Return the maximum number of file descriptors
    the current process could possibly have.  */
 extern int getdtablesize (void) __THROW;
+# endif
 
 #endif /* Use BSD || X/Open Unix.  */