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.
This commit is contained in:
H.J. Lu 2015-10-15 14:33:26 -07:00
parent f84114688a
commit 3c82bb5042
2 changed files with 7 additions and 0 deletions

View File

@ -1,6 +1,9 @@
2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
[BZ #19122]
* include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
attribute_hidden.
* include/string.h [IS_IN (rtld)] (__stpcpy): Add
attribute_hidden.
[IS_IN (rtld)] (__strdup): Likewise.

View File

@ -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