diff options
author | Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> | 2008-11-03 16:02:52 +0000 |
---|---|---|
committer | Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> | 2008-11-03 16:02:52 +0000 |
commit | 339d8b0bb621a48bf6499887f33c62867a42dcfa (patch) | |
tree | 94bb2302d31f0ef4e1bf1d71346125992edff988 /libc/sysdeps/linux | |
parent | bd647c2959369c47baaa9b83a895ed7b0f675384 (diff) |
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@atmel.com>
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r-- | libc/sysdeps/linux/avr32/clone.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |