svn commit: trunk/uClibc/libc/sysdeps/linux/bfin

vapier at uclibc.org vapier at uclibc.org
Wed May 17 04:40:07 UTC 2006


Author: vapier
Date: 2006-05-16 21:40:06 -0700 (Tue, 16 May 2006)
New Revision: 15093

Log:
fix by Peter S. Mazinger: use sys/syscall.h (bits/sysnum.h) instead of asm/unistd.h


Modified:
   trunk/uClibc/libc/sysdeps/linux/bfin/clone.c


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/bfin/clone.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/bfin/clone.c	2006-05-17 04:09:14 UTC (rev 15092)
+++ trunk/uClibc/libc/sysdeps/linux/bfin/clone.c	2006-05-17 04:40:06 UTC (rev 15093)
@@ -6,10 +6,11 @@
  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  */
 
-#include <asm/unistd.h>
+#include <sched.h>
+#include <sys/syscall.h>
 
 int
-clone (int (*fn)(void *arg), void *child_stack, int flags, void *arg)
+clone (int (*fn)(void *arg), void *child_stack, int flags, void *arg, ...)
 {
 	register long rval = -1;
 




More information about the uClibc-cvs mailing list