summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-01 00:33:24 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-01 00:33:24 +0000
commite964c24efefa092a43b0d63c1a53196db11e7bd5 (patch)
tree6afc2fbf97f3a23d2540798e880cbb6fcd2ba407 /libc
parent5b513293c05a50b37b9fdd16347baebd955cbbf9 (diff)
remove errno include since we dont use any errno stuff, remove #error left behind, and touchup syntax
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/x86_64/vfork.S8
1 files changed, 3 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/x86_64/vfork.S b/libc/sysdeps/linux/x86_64/vfork.S
index e3bd7d23d..4c64ead0f 100644
--- a/libc/sysdeps/linux/x86_64/vfork.S
+++ b/libc/sysdeps/linux/x86_64/vfork.S
@@ -16,8 +16,6 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#define _ERRNO_H 1
-#include <bits/errno.h>
#include <sys/syscall.h>
/* Clone the calling process, but without copying the whole address space.
@@ -26,14 +24,14 @@
and the process ID of the new process to the old process. */
#ifndef __NR_vfork
-#error wtf
/* No vfork so use fork instead */
-.weak vfork ; vfork = __libc_fork
+.weak vfork
+ vfork = __libc_fork
#else
.text
-.globl __vfork
+.global __vfork
.type __vfork,@function
.align 16
__vfork: