]> git.proxmox.com Git - mirror_lxc.git/commitdiff
fix function prototype implementation
authorDaniel Lezcano <daniel.lezcano@free.fr>
Thu, 25 Feb 2010 09:24:13 +0000 (10:24 +0100)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Thu, 25 Feb 2010 09:24:13 +0000 (10:24 +0100)
Fix inconsistent function definition regarding the headers.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/network.c

index 8a5861e50e1dfc206c75aca5715da4fa8ac52c48..b678ee24a8fa7735082eee44dc80ad723ec47f99 100644 (file)
@@ -123,7 +123,7 @@ out:
        return err;
 }
 
-extern int lxc_device_delete(const char *name)
+int lxc_device_delete(const char *name)
 {
        struct nl_handler nlh;
        struct nlmsg *nlmsg = NULL, *answer = NULL;
@@ -253,7 +253,7 @@ out:
        return err;
 }
 
-extern int lxc_device_set_mtu(const char *name, int mtu)
+int lxc_device_set_mtu(const char *name, int mtu)
 {
        struct nl_handler nlh;
        struct nlmsg *nlmsg = NULL, *answer = NULL;