diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-10-15 14:33:26 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-10-15 14:33:40 -0700 |
commit | 3c82bb5042330441a18fd8e8d5b74d25d5540a66 (patch) | |
tree | ac4360d387f9145ac0f0a13422f0e56b5c667ea2 /include/sys | |
parent | f84114688abe316b6a736302a7c13f4883d41f13 (diff) | |
download | glibc-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/sys')
-rw-r--r-- | include/sys/utsname.h | 4 |
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 |