aboutsummaryrefslogtreecommitdiff
path: root/include/unistd.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-08-18 00:37:30 -0400
committerMike Frysinger <vapier@gentoo.org>2012-08-18 01:54:12 -0400
commit493387d21f8c1ca8d1dafd7d19d845780f5f2b0c (patch)
treec4ebe7ecc4ca072e47e83a096589846fbceba52e /include/unistd.h
parenta277af22ea038ff963355b603ade8d0a8a98eb5d (diff)
downloadglibc-493387d21f8c1ca8d1dafd7d19d845780f5f2b0c.zip
glibc-493387d21f8c1ca8d1dafd7d19d845780f5f2b0c.tar.gz
glibc-493387d21f8c1ca8d1dafd7d19d845780f5f2b0c.tar.bz2
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 <vapier@gentoo.org>
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 9d74fb4..a5cbc5d 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;