OSDN Git Service

ptfork.c: use strong_alias for vfork
authorPeter S. Mazinger <ps.m@gmx.net>
Thu, 21 Apr 2011 20:41:09 +0000 (22:41 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 15 Jun 2012 12:00:41 +0000 (14:00 +0200)
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libpthread/linuxthreads.old/ptfork.c

index 98c63fe..6f1e2d3 100644 (file)
@@ -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