summaryrefslogtreecommitdiff
path: root/test/unistd
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-22 02:30:41 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-22 02:30:41 +0000
commit78d8691d65f45f53a665050c01d1accb0adfa471 (patch)
tree90e81d9830911f0c3fe7ad970b7fe5c0d12af026 /test/unistd
parenta3e9840d06d9cde5c91899ab85b7f7f383e3081f (diff)
add clone2 prototype to shutup warnings
Diffstat (limited to 'test/unistd')
-rw-r--r--test/unistd/clone_cruft.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unistd/clone_cruft.h b/test/unistd/clone_cruft.h
index 2c04ca6f3..b6a395d06 100644
--- a/test/unistd/clone_cruft.h
+++ b/test/unistd/clone_cruft.h
@@ -6,6 +6,8 @@
#if defined __ia64__
+extern int __clone2 (int (*__fn) (void *__arg), void *__child_stack_base,
+ size_t __child_stack_size, int __flags, void *__arg, ...);
# define do_clone(fn, stack, flags, arg) \
__clone2(fn, stack, crappy_sizeof(stack), flags, arg, NULL, NULL, NULL)