From 493387d21f8c1ca8d1dafd7d19d845780f5f2b0c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 18 Aug 2012 00:37:30 -0400 Subject: add attribute_hidden to __have_{sock_cloexec,pipe2,dup3 These internal knobs are not exposed as part of the public ABI, so mark them hidden to avoid generating relocations against them. Signed-off-by: Mike Frysinger --- include/sys/socket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sys/socket.h') 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. */ -- cgit v1.2.3