This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 18/19] 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.
---
 include/sys/utsname.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/sys/utsname.h b/include/sys/utsname.h
index 66a5289..14f4247 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
-- 
2.4.3


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]