[git commit nptl] ioperm is not used internally, remove hidden_proto

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Aug 19 11:29:41 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=71608bdba12f07e5602e8e09d1be20fe6ba8d906
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl

Without a hidden_def we'd end up with __GI_ioperm which is wrong.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
 libc/sysdeps/linux/common/ioperm.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/libc/sysdeps/linux/common/ioperm.c b/libc/sysdeps/linux/common/ioperm.c
index 64fc647..bca2fff 100644
--- a/libc/sysdeps/linux/common/ioperm.c
+++ b/libc/sysdeps/linux/common/ioperm.c
@@ -13,8 +13,10 @@
 
 /* psm: can't #include <sys/io.h>, some archs miss it */
 extern int ioperm(unsigned long __from, unsigned long __num, int __turn_on) __THROW;
+/* Not needed internally;
 libc_hidden_proto(ioperm)
-
+*/
 _syscall3(int, ioperm, unsigned long, from, unsigned long, num, int, turn_on)
+/*libc_hidden_def(ioperm)*/
 
 #endif
-- 
1.6.3.3



More information about the uClibc-cvs mailing list