From: Dwight Engen Date: Thu, 10 Oct 2013 16:59:04 +0000 (-0400) Subject: fix clone prototype X-Git-Tag: lxc-1.0.0.alpha2~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3cef1cbe2835668036d40bc88c2e546868bc0ea;p=thirdparty%2Flxc.git fix clone prototype gcc was complaining with: reboot.c:33: error: conflicting types for ‘clone’ /usr/include/bits/sched.h:83: note: previous declaration of ‘clone’ was here Signed-off-by: Dwight Engen Signed-off-by: Serge Hallyn --- diff --git a/src/tests/reboot.c b/src/tests/reboot.c index 6e12aa49a..82fa5b16b 100644 --- a/src/tests/reboot.c +++ b/src/tests/reboot.c @@ -30,7 +30,7 @@ #include #include -int clone(int (*fn)(void *), void *child_stack, int flags, void *arg); +int clone(int (*fn)(void *), void *child_stack, int flags, void *arg, ...); static int do_reboot(void *arg) {