From f3cef1cbe2835668036d40bc88c2e546868bc0ea Mon Sep 17 00:00:00 2001 From: Dwight Engen Date: Thu, 10 Oct 2013 12:59:04 -0400 Subject: [PATCH] fix clone prototype MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- src/tests/reboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.47.2