Преглед на файлове

fixes from psm: use new clone definition

Mike Frysinger преди 19 години
родител
ревизия
d036894a6f
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      libc/sysdeps/linux/nios2/clone.c

+ 2 - 1
libc/sysdeps/linux/nios2/clone.c

@@ -14,9 +14,10 @@
  */
 
 #include <errno.h>
+#include <sched.h>
 #include <sys/syscall.h>
 
-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 unsigned long rval asm ("r2") = -EINVAL;