Commit 226a18d6 by Daniel Lezcano Committed by Daniel Lezcano

fix compilation warning

lxc_config_define_load should an int Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent 33ba4ad7
......@@ -685,8 +685,7 @@ int lxc_config_define_add(struct lxc_list *defines, char* arg)
return 0;
}
char* lxc_config_define_load(struct lxc_list *defines,
struct lxc_conf *conf)
int lxc_config_define_load(struct lxc_list *defines, struct lxc_conf *conf)
{
struct lxc_list *it;
int ret = 0;
......
......@@ -28,5 +28,5 @@ extern int lxc_config_read(const char *file, struct lxc_conf *conf);
extern int lxc_config_readline(char *buffer, struct lxc_conf *conf);
extern int lxc_config_define_add(struct lxc_list *defines, char* arg);
extern char *lxc_config_define_load(struct lxc_list *defines,
struct lxc_conf *conf);
extern int lxc_config_define_load(struct lxc_list *defines,
struct lxc_conf *conf);
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