diff options
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv')
-rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/fork.c | 3 | ||||
-rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/pt-fork.c | 4 |
2 files changed, 1 insertions, 6 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/fork.c b/libpthread/nptl/sysdeps/unix/sysv/linux/fork.c index 6ad9053b7..ab4a6e6eb 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/fork.c +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/fork.c @@ -58,7 +58,6 @@ fresetlockfiles (void) #endif } -extern __typeof(fork) __libc_fork; pid_t __libc_fork (void) { @@ -223,7 +222,5 @@ __libc_fork (void) return pid; } -weak_alias(__libc_fork,__fork) -libc_hidden_proto(fork) weak_alias(__libc_fork,fork) libc_hidden_weak(fork) diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/pt-fork.c b/libpthread/nptl/sysdeps/unix/sysv/linux/pt-fork.c index 3e1b70f86..b8a938c43 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/pt-fork.c +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/pt-fork.c @@ -19,9 +19,7 @@ #include <unistd.h> -extern int __libc_fork (void); - -pid_t +static pid_t __fork (void) { return __libc_fork (); |