summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-08-01 11:21:52 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-08-01 11:26:11 +0200
commit02b53aad4c970408cab2b76408dbac85e08f8ae9 (patch)
tree23afcb9f54d45ee91476fd83746f01db353de2e6 /libc/sysdeps
parentfeb97aff03e43bc322c71ee040aa866cc03aa485 (diff)
ioperm is not used internally, remove hidden_proto
Without a hidden_def we'd end up with __GI_ioperm which is wrong. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/ioperm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/ioperm.c b/libc/sysdeps/linux/common/ioperm.c
index 64fc6470f..bca2fff0f 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