Commit f3cef1cb by Dwight Engen Committed by Serge Hallyn

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: 's avatarDwight Engen <dwight.engen@oracle.com> Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com>
parent 7d35d3a7
......@@ -30,7 +30,7 @@
#include <linux/sched.h>
#include <linux/reboot.h>
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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment