[lxc-devel] [PATCH 05/17] Android now uses a sane clone() definition

Stéphane Graber stgraber at ubuntu.com
Fri Aug 16 15:13:51 UTC 2013


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 <stgraber at ubuntu.com>
---
 src/lxc/namespace.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/lxc/namespace.h b/src/lxc/namespace.h
index c6a97ec..0c53630 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, ...
-- 
1.8.3.2





More information about the lxc-devel mailing list