summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/fork.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-11-20 22:11:44 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-11-20 22:11:44 +0000
commitcb97aadebfeba7f5e8f1b85beee5ab10e88c2990 (patch)
treef5f56f2ef0f3048325419857d0b538135524ff8c /libc/sysdeps/linux/common/fork.c
parentb133fe1cac9f99b63ea56daf92caa1423b1289d0 (diff)
Last portion of libc_hidden_proto removal.
Appears to build fine (several .configs tried)
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")