From: Stéphane Graber Date: Fri, 16 Aug 2013 10:22:38 +0000 (+0200) Subject: Android now uses a sane clone() definition X-Git-Tag: lxc-1.0.0.alpha1~1^2~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=590ae889334b01a59606a1a8952d976098bd6123;p=thirdparty%2Flxc.git Android now uses a sane clone() definition The current Android NDK provides a clone() defintion that's identical to eglibc's so we can drop the ifdef from that one. Signed-off-by: Stéphane Graber Acked-by: Serge E. Hallyn --- diff --git a/src/lxc/namespace.h b/src/lxc/namespace.h index c6a97ec93..0c53630df 100644 --- a/src/lxc/namespace.h +++ b/src/lxc/namespace.h @@ -53,9 +53,6 @@ #if defined(__ia64__) int __clone2(int (*__fn) (void *__arg), void *__child_stack_base, size_t __child_stack_size, int __flags, void *__arg, ...); -#elif defined(IS_BIONIC) -int clone(int (*fn)(void *), void *child_stack, - int flags, void *arg); #else int clone(int (*fn)(void *), void *child_stack, int flags, void *arg, ...