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

egtvedt at uclibc.org egtvedt at uclibc.org
Mon Nov 3 16:02:52 UTC 2008


Author: egtvedt
Date: 2008-11-03 08:02:52 -0800 (Mon, 03 Nov 2008)
New Revision: 23918

Log:
Sync clone() function declaration for AVR32 with sched.h declaration

This patch fixes the previous commit for clone on AVR32 arch, where the
function parameters where not updated after adding #include <sched.h>.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt at atmel.com>



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


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/avr32/clone.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/avr32/clone.c	2008-11-03 15:54:24 UTC (rev 23917)
+++ trunk/uClibc/libc/sysdeps/linux/avr32/clone.c	2008-11-03 16:02:52 UTC (rev 23918)
@@ -15,7 +15,7 @@
  * parameters are preserved when returning as the child. If the
  * compiler stores them in registers (r0-r7), they should be.
  */
-int clone(int (*fn)(void *arg), void *child_stack, int flags, void *arg)
+int clone(int (*fn)(void *arg), void *child_stack, int flags, void *arg, ...)
 {
 	register int (*_fn)(void *arg) = fn;
 	register void *_arg = arg;




More information about the uClibc-cvs mailing list