diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-09-08 19:59:44 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-09-08 19:59:44 +0000 |
commit | c9781f6b04ed346407c0462488d2a4c425b69230 (patch) | |
tree | 81593270e418fcdcb7810075baa0bdf6b22b2fa6 | |
parent | 7083e9626fec035008405ca598bc3c9241013b55 (diff) |
Use __libc_fork for the uClinux fork stub
-rw-r--r-- | libc/sysdeps/linux/common/syscalls.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |