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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/fork.c b/libc/sysdeps/linux/common/fork.c
index 7c1281468..5993387f0 100644
--- a/libc/sysdeps/linux/common/fork.c
+++ b/libc/sysdeps/linux/common/fork.c
@@ -16,7 +16,7 @@
extern __typeof(fork) __libc_fork;
#define __NR___libc_fork __NR_fork
_syscall0(pid_t, __libc_fork)
-libc_hidden_proto(fork)
+/* libc_hidden_proto(fork) */
weak_alias(__libc_fork,fork)
libc_hidden_weak(fork)
#endif
@@ -28,7 +28,7 @@ pid_t __libc_fork(void)
__set_errno(ENOSYS);
return -1;
}
-libc_hidden_proto(fork)
+/* 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")