1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

Hide internal __sysinfo function [BZ #18822]

Hide internal __sysinfo function to allow direct access within libc.so and
libc.a without using GOT nor PLT.

	[BZ #18822]
	* sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
	attribute_hidden.
This commit is contained in:
H.J. Lu
2017-10-01 16:05:10 -07:00
parent 6a088436d4
commit 6e342af6e7
2 changed files with 7 additions and 1 deletions

View File

@ -23,7 +23,7 @@
# ifndef _ISOMAC
extern __typeof (sysinfo) __sysinfo __THROW;
extern __typeof (sysinfo) __sysinfo __THROW attribute_hidden;
# endif /* _ISOMAC */
#endif /* sys/sysinfo.h */