summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/syscalls.c')
-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