summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-09-08 19:59:44 +0000
committerEric Andersen <andersen@codepoet.org>2003-09-08 19:59:44 +0000
commitc9781f6b04ed346407c0462488d2a4c425b69230 (patch)
tree81593270e418fcdcb7810075baa0bdf6b22b2fa6 /libc/sysdeps/linux/common
parent7083e9626fec035008405ca598bc3c9241013b55 (diff)
Use __libc_fork for the uClinux fork stub
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/syscalls.c4
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