diff --git a/src/lxc/confile.c b/src/lxc/confile.c index 4c0e4d138..fb7689f1c 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -2673,12 +2673,6 @@ static inline int lxc_get_conf_int(struct lxc_conf *c, char *retv, int inlen, return snprintf(retv, inlen, "%d", v); } -int lxc_get_config_item(struct lxc_conf *c, const char *key, char *retv, - int inlen) -{ - return 0; -} - int lxc_clear_config_item(struct lxc_conf *c, const char *key) { int ret = 0; diff --git a/src/lxc/confile.h b/src/lxc/confile.h index 19233bcd7..003f8f23f 100644 --- a/src/lxc/confile.h +++ b/src/lxc/confile.h @@ -30,7 +30,6 @@ struct lxc_conf; struct lxc_list; -struct lxc_container; typedef int (*config_set_cb)(const char *, const char *, struct lxc_conf *); typedef int (*config_get_cb)(const char *, char *, int, struct lxc_conf *); @@ -56,7 +55,6 @@ extern int lxc_config_define_load(struct lxc_list *defines, extern signed long lxc_config_parse_arch(const char *arch); extern int lxc_fill_elevated_privileges(char *flaglist, int *flags); -extern int lxc_get_config_item(struct lxc_conf *c, const char *key, char *retv, int inlen); extern int lxc_clear_config_item(struct lxc_conf *c, const char *key); extern void write_config(FILE *fout, struct lxc_conf *c);