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/mlockall.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/sysdeps/linux/common/mlockall.c') diff --git a/libc/sysdeps/linux/common/mlockall.c b/libc/sysdeps/linux/common/mlockall.c index 1bf6ecc3f..4f51bd0df 100644 --- a/libc/sysdeps/linux/common/mlockall.c +++ b/libc/sysdeps/linux/common/mlockall.c @@ -9,6 +9,6 @@ #include "syscalls.h" #include -# if defined __ARCH_HAS_MMU__ && defined __NR_mlockall +#if defined __ARCH_HAS_MMU__ && defined __NR_mlockall _syscall1(int, mlockall, int, flags); -# endif +#endif -- cgit v1.2.3