summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-08-23 19:21:01 +0000
committerMike Frysinger <vapier@gentoo.org>2006-08-23 19:21:01 +0000
commitd036894a6f329bda959f684de2c9c7ed970adbf4 (patch)
tree26e87d8cffdc84713f93e81409a7ea7040c31eb1 /libc/sysdeps/linux
parenteec38304692556bedde517d299cc051d2d96fc01 (diff)
fixes from psm: use new clone definition
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/nios2/clone.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/nios2/clone.c b/libc/sysdeps/linux/nios2/clone.c
index 019ca31bc..78dcac1af 100644
--- a/libc/sysdeps/linux/nios2/clone.c
+++ b/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;