[uClibc-cvs] svn commit: trunk/uClibc/libc/sysdeps/linux/x86_64

vapier at uclibc.org vapier at uclibc.org
Fri Jul 1 00:33:24 UTC 2005


Author: vapier
Date: 2005-06-30 18:33:24 -0600 (Thu, 30 Jun 2005)
New Revision: 10675

Log:
remove errno include since we dont use any errno stuff, remove #error left behind, and touchup syntax

Modified:
   trunk/uClibc/libc/sysdeps/linux/x86_64/vfork.S


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/x86_64/vfork.S
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/x86_64/vfork.S	2005-07-01 00:31:54 UTC (rev 10674)
+++ trunk/uClibc/libc/sysdeps/linux/x86_64/vfork.S	2005-07-01 00:33:24 UTC (rev 10675)
@@ -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, at function
 .align 16
 __vfork:



More information about the uClibc-cvs mailing list