Commit c547a835 by Daniel Lezcano Committed by Daniel Lezcano

fix function prototype implementation

Fix inconsistent function definition regarding the headers. Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent b9a5bb58
...@@ -123,7 +123,7 @@ out: ...@@ -123,7 +123,7 @@ out:
return err; return err;
} }
extern int lxc_device_delete(const char *name) int lxc_device_delete(const char *name)
{ {
struct nl_handler nlh; struct nl_handler nlh;
struct nlmsg *nlmsg = NULL, *answer = NULL; struct nlmsg *nlmsg = NULL, *answer = NULL;
...@@ -253,7 +253,7 @@ out: ...@@ -253,7 +253,7 @@ out:
return err; 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 nl_handler nlh;
struct nlmsg *nlmsg = NULL, *answer = NULL; struct nlmsg *nlmsg = NULL, *answer = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment