From 339d8b0bb621a48bf6499887f33c62867a42dcfa Mon Sep 17 00:00:00 2001 From: Hans-Christian Egtvedt Date: Mon, 3 Nov 2008 16:02:52 +0000 Subject: 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 . Signed-off-by: Hans-Christian Egtvedt --- libc/sysdeps/linux/avr32/clone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/avr32') diff --git a/libc/sysdeps/linux/avr32/clone.c b/libc/sysdeps/linux/avr32/clone.c index 706617a74..06e3388b8 100644 --- a/libc/sysdeps/linux/avr32/clone.c +++ b/libc/sysdeps/linux/avr32/clone.c @@ -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; -- cgit v1.2.3