summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/ioperm.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-07-30 02:54:42 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-07-30 02:54:42 +0000
commit92ac94812b84cef7d9bddfffd0446721a7a6ee06 (patch)
treea5a2c895d613afb96fb71c9c19be9ec266db30d7 /libc/sysdeps/linux/common/ioperm.c
parentac02770c4a13eff9fef10c33ebb18d765f25a968 (diff)
downloaduClibc-alpine-92ac94812b84cef7d9bddfffd0446721a7a6ee06.tar.bz2
uClibc-alpine-92ac94812b84cef7d9bddfffd0446721a7a6ee06.tar.xz
Finalize the merge from the trunk. There are more files to be
merged, but they will be done manually.
Diffstat (limited to 'libc/sysdeps/linux/common/ioperm.c')
-rw-r--r--libc/sysdeps/linux/common/ioperm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/ioperm.c b/libc/sysdeps/linux/common/ioperm.c
index 8afba049e..874577a64 100644
--- a/libc/sysdeps/linux/common/ioperm.c
+++ b/libc/sysdeps/linux/common/ioperm.c
@@ -8,12 +8,12 @@
*/
#include "syscalls.h"
-# if defined __ARCH_HAS_MMU__ && defined __NR_ioperm
+#if defined __ARCH_HAS_MMU__ && defined __NR_ioperm
_syscall3(int, ioperm, unsigned long, from, unsigned long, num, int, turn_on);
-# else
+#else
int ioperm(unsigned long from, unsigned long num, int turn_on)
{
__set_errno(ENOSYS);
return -1;
}
-# endif
+#endif