summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/ioperm.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-15 16:53:01 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:24 +0200
commit02c9f0d6e8fc2dfef2a1caa39fac83b566884247 (patch)
tree33c29b98d9e6c22376eb1f812416ec72d88619bd /libc/sysdeps/linux/common/ioperm.c
parentbcfda18ae026b31d86eecc55cbc72dcaf41dc23a (diff)
remove libc_hidden_proto(ioperm) from all headers except arm
While there, guard everywhere ioperm and iopl prototypes with __UCLIBC_LINUX_SPECIFIC__ Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/ioperm.c')
-rw-r--r--libc/sysdeps/linux/common/ioperm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/common/ioperm.c b/libc/sysdeps/linux/common/ioperm.c
index bca2fff0f..b64a82213 100644
--- a/libc/sysdeps/linux/common/ioperm.c
+++ b/libc/sysdeps/linux/common/ioperm.c
@@ -13,10 +13,6 @@
/* 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