Quoting Dwight Engen ([email protected]): > 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 <[email protected]>
Acked-by: Serge E. Hallyn <[email protected]> > --- > src/tests/reboot.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/tests/reboot.c b/src/tests/reboot.c > index 6e12aa4..82fa5b1 100644 > --- a/src/tests/reboot.c > +++ b/src/tests/reboot.c > @@ -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) > { > -- > 1.7.1 > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk > _______________________________________________ > Lxc-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/lxc-devel ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ Lxc-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lxc-devel
