From c24a610e7adc577dd888154169a98616c455452e Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Wed, 25 Jan 2006 19:41:22 +0000 Subject: Use #define __NR_vfork __NR_fork consistently --- libc/sysdeps/linux/x86_64/vfork.S | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'libc/sysdeps/linux/x86_64/vfork.S') diff --git a/libc/sysdeps/linux/x86_64/vfork.S b/libc/sysdeps/linux/x86_64/vfork.S index a065916d1..41acfeec0 100644 --- a/libc/sysdeps/linux/x86_64/vfork.S +++ b/libc/sysdeps/linux/x86_64/vfork.S @@ -16,7 +16,6 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#include #include /* Clone the calling process, but without copying the whole address space. @@ -26,10 +25,8 @@ #ifndef __NR_vfork /* No vfork so use fork instead */ -strong_alias(fork,__libc_fork) -hidden_strong_alias(__libc_fork,__vfork) - -#else +# define __NR_vfork __NR_fork +#endif .text .global __vfork @@ -58,6 +55,5 @@ __vfork: .size __vfork,.-__vfork -#endif /* __NR_vfork */ weak_alias(__vfork,vfork) libc_hidden_def(vfork) -- cgit v1.2.3