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/fork.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'libc/sysdeps/linux/common/fork.c') diff --git a/libc/sysdeps/linux/common/fork.c b/libc/sysdeps/linux/common/fork.c index 987626587..9f87ea4e2 100644 --- a/libc/sysdeps/linux/common/fork.c +++ b/libc/sysdeps/linux/common/fork.c @@ -13,11 +13,5 @@ #ifdef __ARCH_HAS_MMU__ #define __NR___libc_fork __NR_fork _syscall0(pid_t, __libc_fork); -#else -pid_t __libc_fork(void) -{ - __set_errno(ENOSYS); - return -1; -} -#endif weak_alias(__libc_fork, fork); +#endif -- cgit v1.2.3