summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/ioperm.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-10-06 04:07:21 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-10-06 04:07:21 +0000
commitc237bf341806759207379e5958a65c26f3cc3970 (patch)
treeb0c6ffb1d179c25260245549624194f9bd8b8c2e /libc/sysdeps/linux/common/ioperm.c
parent29a33929c807d5c9b5b5092716c871ceb2fae8a1 (diff)
downloaduClibc-alpine-c237bf341806759207379e5958a65c26f3cc3970.tar.bz2
uClibc-alpine-c237bf341806759207379e5958a65c26f3cc3970.tar.xz
Sync with trunk.
Diffstat (limited to 'libc/sysdeps/linux/common/ioperm.c')
-rw-r--r--libc/sysdeps/linux/common/ioperm.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/common/ioperm.c b/libc/sysdeps/linux/common/ioperm.c
index 874577a64..16c9eecfa 100644
--- a/libc/sysdeps/linux/common/ioperm.c
+++ b/libc/sysdeps/linux/common/ioperm.c
@@ -10,10 +10,4 @@
#include "syscalls.h"
#if defined __ARCH_HAS_MMU__ && defined __NR_ioperm
_syscall3(int, ioperm, unsigned long, from, unsigned long, num, int, turn_on);
-#else
-int ioperm(unsigned long from, unsigned long num, int turn_on)
-{
- __set_errno(ENOSYS);
- return -1;
-}
#endif