]> git.proxmox.com Git - mirror_lxc.git/commitdiff
Android now uses a sane clone() definition
authorStéphane Graber <stgraber@ubuntu.com>
Fri, 16 Aug 2013 10:22:38 +0000 (12:22 +0200)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 19 Aug 2013 12:33:05 +0000 (14:33 +0200)
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@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/lxc/namespace.h

index c6a97ec93894b7980ff9aecc068f76cc0dd179df..0c53630dfe71af855f3d52672f6526a3a6a7c454 100644 (file)
@@ -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, ...