Explorar o código

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>
Hans-Christian Egtvedt %!s(int64=15) %!d(string=hai) anos
pai
achega
339d8b0bb6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      libc/sysdeps/linux/avr32/clone.c

+ 1 - 1
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;