summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/common/fork.c1
-rw-r--r--libc/sysdeps/linux/ia64/fork.S2
-rw-r--r--libc/sysdeps/linux/xtensa/fork.c3
3 files changed, 0 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/common/fork.c b/libc/sysdeps/linux/common/fork.c
index 14e00a2cd..88958b144 100644
--- a/libc/sysdeps/linux/common/fork.c
+++ b/libc/sysdeps/linux/common/fork.c
@@ -14,7 +14,6 @@
#ifdef __NR_fork
#define __NR___libc_fork __NR_fork
-extern __typeof(fork) __libc_fork;
_syscall0(pid_t, __libc_fork)
weak_alias(__libc_fork,fork)
libc_hidden_weak(fork)
diff --git a/libc/sysdeps/linux/ia64/fork.S b/libc/sysdeps/linux/ia64/fork.S
index c657453f2..0023a3be4 100644
--- a/libc/sysdeps/linux/ia64/fork.S
+++ b/libc/sysdeps/linux/ia64/fork.S
@@ -36,7 +36,5 @@ ENTRY(__libc_fork)
ret
PSEUDO_END(__libc_fork)
-weak_alias (__libc_fork, __fork)
-libc_hidden_def (__fork)
weak_alias (__libc_fork, fork)
libc_hidden_weak (fork)
diff --git a/libc/sysdeps/linux/xtensa/fork.c b/libc/sysdeps/linux/xtensa/fork.c
index f8fae9b5f..f8b77bfb5 100644
--- a/libc/sysdeps/linux/xtensa/fork.c
+++ b/libc/sysdeps/linux/xtensa/fork.c
@@ -14,9 +14,6 @@
/* Xtensa doesn't provide a 'fork' system call, so we use 'clone'. */
-extern __typeof(fork) __libc_fork;
-
-libc_hidden_proto(fork)
pid_t __libc_fork(void)
{
return (pid_t) INLINE_SYSCALL(clone, 2, SIGCHLD, 0);