diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-25 19:41:22 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-25 19:41:22 +0000 |
commit | c24a610e7adc577dd888154169a98616c455452e (patch) | |
tree | 7f7482c0f3b83e91ccacd97d5164c6a13634f7b1 /libc/sysdeps/linux/i386 | |
parent | a01c09263d316cc96d574795150c0155c06d3236 (diff) |
Use #define __NR_vfork __NR_fork consistently
Diffstat (limited to 'libc/sysdeps/linux/i386')
-rw-r--r-- | libc/sysdeps/linux/i386/vfork.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/i386/vfork.S b/libc/sysdeps/linux/i386/vfork.S index 02c049faa..bc7ccdb32 100644 --- a/libc/sysdeps/linux/i386/vfork.S +++ b/libc/sysdeps/linux/i386/vfork.S @@ -4,13 +4,13 @@ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ -#include <features.h> #include <sys/syscall.h> #ifndef __NR_vfork /* No vfork so use fork instead */ -hidden_strong_alias(__libc_fork,__vfork) -#else +# define __NR_vfork __NR_fork +#endif + .text .global __vfork .hidden __vfork @@ -27,6 +27,6 @@ __vfork: ret .size __vfork,.-__vfork -#endif + weak_alias(__vfork,vfork) libc_hidden_def(vfork) |