From 977216264f4ef4c2ebeb9d30435c17a950fed6e6 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 4 Oct 2005 22:26:07 +0000 Subject: Do not stub out functions for mmu-less systems. Hide all prototypes for functions disabled on mmu-less systems. --- libc/sysdeps/linux/common/ioperm.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'libc/sysdeps/linux/common/ioperm.c') 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 -- cgit v1.2.3