summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/sysdeps/linux/common/fork.c2
-rw-r--r--libc/sysdeps/linux/cris/fork.c2
-rw-r--r--libc/sysdeps/linux/sparc/fork.S2
3 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/fork.c b/libc/sysdeps/linux/common/fork.c
index a4e623900..7c94843ec 100644
--- a/libc/sysdeps/linux/common/fork.c
+++ b/libc/sysdeps/linux/common/fork.c
@@ -17,6 +17,6 @@ extern __typeof(fork) __libc_fork;
_syscall0(pid_t, __libc_fork);
libc_hidden_proto(fork)
weak_alias(__libc_fork,fork)
-libc_hidden_def(fork)
+libc_hidden_weak(fork)
#endif
#endif
diff --git a/libc/sysdeps/linux/cris/fork.c b/libc/sysdeps/linux/cris/fork.c
index dc9c8867f..20b546901 100644
--- a/libc/sysdeps/linux/cris/fork.c
+++ b/libc/sysdeps/linux/cris/fork.c
@@ -16,4 +16,4 @@ SYSCALL__ (__libc_fork, 0)
__asm__("ret\n\tnop");
libc_hidden_proto(fork)
weak_alias(__libc_fork,fork)
-libc_hidden_def(fork)
+libc_hidden_weak(fork)
diff --git a/libc/sysdeps/linux/sparc/fork.S b/libc/sysdeps/linux/sparc/fork.S
index cb863f654..00157cffd 100644
--- a/libc/sysdeps/linux/sparc/fork.S
+++ b/libc/sysdeps/linux/sparc/fork.S
@@ -46,4 +46,4 @@ __libc_fork:
.size __libc_fork,.-__libc_fork
weak_alias(__libc_fork,fork)
-libc_hidden_def(fork)
+libc_hidden_weak(fork)