summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/ioperm.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-08-01 11:21:52 +0200
committerAustin Foxley <austinf@cetoncorp.com>2009-08-19 12:45:00 -0700
commit71608bdba12f07e5602e8e09d1be20fe6ba8d906 (patch)
treee65be5f0bc781c3c1d40605babc3b5ce5b60255a /libc/sysdeps/linux/common/ioperm.c
parent22223cdcb17367567932389511a506e989aa96da (diff)
downloaduClibc-alpine-71608bdba12f07e5602e8e09d1be20fe6ba8d906.tar.bz2
uClibc-alpine-71608bdba12f07e5602e8e09d1be20fe6ba8d906.tar.xz
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> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/sysdeps/linux/common/ioperm.c')
-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