diff options
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux')
-rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/fork.c | 5 | ||||
-rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/pt-fork.c | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/fork.c b/libpthread/nptl/sysdeps/unix/sysv/linux/fork.c index ab4a6e6eb..d4eaf77e7 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/fork.c +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/fork.c @@ -59,7 +59,7 @@ fresetlockfiles (void) } pid_t -__libc_fork (void) +fork (void) { pid_t pid; struct used_handler @@ -222,5 +222,4 @@ __libc_fork (void) return pid; } -weak_alias(__libc_fork,fork) -libc_hidden_weak(fork) +libc_hidden_def(fork) diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/pt-fork.c b/libpthread/nptl/sysdeps/unix/sysv/linux/pt-fork.c index b8a938c43..417477e42 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/pt-fork.c +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/pt-fork.c @@ -19,9 +19,11 @@ #include <unistd.h> +#if 0 static pid_t __fork (void) { return __libc_fork (); } strong_alias (__fork, fork) +#endif |