summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-04-21 22:41:09 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:41 +0200
commit4228d2f34cc0b3b70adc16cec499aeef034aece0 (patch)
tree788a3432f8fa6d04f92e676016a62cbfb804c998 /libpthread
parent6a78127da45aa0299549bba1c045b41087fbe6db (diff)
ptfork.c: use strong_alias for vfork
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/linuxthreads.old/ptfork.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libpthread/linuxthreads.old/ptfork.c b/libpthread/linuxthreads.old/ptfork.c
index 98c63fe03..6f1e2d3c9 100644
--- a/libpthread/linuxthreads.old/ptfork.c
+++ b/libpthread/linuxthreads.old/ptfork.c
@@ -148,11 +148,7 @@ static pid_t __fork(void)
return pid;
}
strong_alias(__fork,fork)
-
-pid_t vfork(void)
-{
- return __fork();
-}
+strong_alias(__fork,vfork)
#else