On Thu, Oct 10, 2013 at 12:59:04PM -0400, Dwight Engen wrote: > 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 <dwight.en...@oracle.com>
Acked-by: Stéphane Graber <stgra...@ubuntu.com> > --- > 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 > Lxc-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/lxc-devel -- Stéphane Graber Ubuntu developer http://www.ubuntu.com
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ 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 Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel