summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/fork.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-01-14 19:32:10 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-01-14 19:32:10 +0000
commit821b26bf3fe22524a1d1a2c9bc60ad549de82333 (patch)
tree0dc5c690f89b55f1156bcba1b15ee382e4242714 /libpthread/nptl/sysdeps/unix/sysv/linux/fork.c
parenta979d4016db090191fe7ed167d85870338e64604 (diff)
downloaduClibc-alpine-821b26bf3fe22524a1d1a2c9bc60ad549de82333.tar.bz2
uClibc-alpine-821b26bf3fe22524a1d1a2c9bc60ad549de82333.tar.xz
Get rid of more glibc NPTL symbol and alias madness. Also disable usage of
'libc/sysdeps/linux/common/fork.c' when NPTL is being used. Finally, there are additional weak functions that need to be defined when using NPTL which have also been added.
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/fork.c')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/fork.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/fork.c b/libpthread/nptl/sysdeps/unix/sysv/linux/fork.c
index f62e4b919..fd137c752 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/fork.c
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/fork.c
@@ -67,7 +67,7 @@ fresetlockfiles (void)
pid_t
-__libc_fork_nptl (void)
+__libc_fork (void)
{
pid_t pid;
struct used_handler
@@ -251,3 +251,6 @@ __libc_fork_nptl (void)
return pid;
}
+weak_alias (__libc_fork, __fork)
+hidden_def (__fork)
+weak_alias (__libc_fork, fork)