about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--include/sys/socket.h2
-rw-r--r--include/unistd.h6
3 files changed, 11 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 206206a8b7..9e4e98b6ad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
 
+	* include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
+	* include/unistd.h (__have_sock_cloexec): Likewise.
+	(__have_pipe2): Likewise.
+	(__have_dup3): Likewise.
+
+2012-08-18  Mike Frysinger  <vapier@gentoo.org>
+
 	[BZ #9685]
 	* include/unistd.h (__have_pipe2): Change define into an extern int.
 	(__have_dup3): Likewise.
diff --git a/include/sys/socket.h b/include/sys/socket.h
index 50e6bb3a74..ec088572bd 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -148,7 +148,7 @@ libc_hidden_proto (__libc_sa_len)
 #endif
 
 #ifdef SOCK_CLOEXEC
-extern int __have_sock_cloexec;
+extern int __have_sock_cloexec attribute_hidden;
 /* At lot of other functionality became available at the same time as
    SOCK_CLOEXEC.  Avoid defining separate variables for all of them
    unless it is really necessary.  */
diff --git a/include/unistd.h b/include/unistd.h
index 9d74fb49e8..a5cbc5d2fc 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -173,9 +173,9 @@ extern int __libc_pause (void);
 /* Not cancelable variant.  */
 extern int __pause_nocancel (void) attribute_hidden;
 
-extern int __have_sock_cloexec;
-extern int __have_pipe2;
-extern int __have_dup3;
+extern int __have_sock_cloexec attribute_hidden;
+extern int __have_pipe2 attribute_hidden;
+extern int __have_dup3 attribute_hidden;
 
 extern int __getlogin_r_loginuid (char *name, size_t namesize)
      attribute_hidden;