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

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Sat Aug 1 09:26:11 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=02b53aad4c970408cab2b76408dbac85e08f8ae9
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

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