summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/fork.c')
-rw-r--r--libc/sysdeps/linux/common/fork.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/fork.c b/libc/sysdeps/linux/common/fork.c
index 5993387f0..26a20d987 100644
--- a/libc/sysdeps/linux/common/fork.c
+++ b/libc/sysdeps/linux/common/fork.c
@@ -16,7 +16,6 @@
extern __typeof(fork) __libc_fork;
#define __NR___libc_fork __NR_fork
_syscall0(pid_t, __libc_fork)
-/* libc_hidden_proto(fork) */
weak_alias(__libc_fork,fork)
libc_hidden_weak(fork)
#endif
@@ -28,7 +27,6 @@ pid_t __libc_fork(void)
__set_errno(ENOSYS);
return -1;
}
-/* libc_hidden_proto(fork) */
weak_alias(__libc_fork,fork)
libc_hidden_weak(fork)
link_warning(fork, "fork: this function is not implemented on no-mmu systems")