From c9781f6b04ed346407c0462488d2a4c425b69230 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 8 Sep 2003 19:59:44 +0000 Subject: Use __libc_fork for the uClinux fork stub --- libc/sysdeps/linux/common/syscalls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/sysdeps/linux/common/syscalls.c') diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c index 9438c8d7c..d3a759827 100644 --- a/libc/sysdeps/linux/common/syscalls.c +++ b/libc/sysdeps/linux/common/syscalls.c @@ -46,14 +46,14 @@ # ifdef __UCLIBC_HAS_MMU__ #define __NR___libc_fork __NR_fork _syscall0(pid_t, __libc_fork); - weak_alias (__libc_fork, fork) # else - pid_t fork(void) + pid_t __libc_fork(void) { __set_errno(ENOSYS); return -1; } # endif +weak_alias (__libc_fork, fork) #endif //#define __NR_read 3 -- cgit v1.2.3