about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-10-15 14:33:26 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-10-15 14:33:40 -0700
commit3c82bb5042330441a18fd8e8d5b74d25d5540a66 (patch)
treeac4360d387f9145ac0f0a13422f0e56b5c667ea2 /include
parentf84114688abe316b6a736302a7c13f4883d41f13 (diff)
downloadglibc-3c82bb5042330441a18fd8e8d5b74d25d5540a66.tar.gz
glibc-3c82bb5042330441a18fd8e8d5b74d25d5540a66.tar.xz
glibc-3c82bb5042330441a18fd8e8d5b74d25d5540a66.zip
Mark ld.so internel __uname hidden
Since ld.so internel __uname is only used internally in ld.so, it can
be made hidden.

	[BZ #19122]
	* include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
	attribute_hidden.
Diffstat (limited to 'include')
-rw-r--r--include/sys/utsname.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sys/utsname.h b/include/sys/utsname.h
index 66a5289638..14f4247dd4 100644
--- a/include/sys/utsname.h
+++ b/include/sys/utsname.h
@@ -6,5 +6,9 @@ extern int __uname (struct utsname *__name);
 
 libc_hidden_proto (uname)
 libc_hidden_proto (__uname)
+
+# if IS_IN (rtld)
+extern __typeof (__uname) __uname attribute_hidden;
+# endif
 #endif
 #endif