From: Christian Brauner Date: Tue, 22 Aug 2017 09:53:29 +0000 (+0200) Subject: confile: non-functional changes X-Git-Tag: lxc-2.1.0~19^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=861d1adaae13b76ff8d6802746c10ebf798f2370;p=thirdparty%2Flxc.git confile: non-functional changes Signed-off-by: Christian Brauner --- diff --git a/src/lxc/confile.c b/src/lxc/confile.c index 82de6979a..5c61e6edf 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -68,14 +68,12 @@ lxc_log_define(lxc_confile, lxc); -#define lxc_config_define(name) \ - static int set_config_##name(const char *, const char *, \ - struct lxc_conf *, void *); \ - static int get_config_##name(const char *, char *, int, \ - struct lxc_conf *, void *); \ - static int clr_config_##name(const char *, struct lxc_conf *, \ - void *); - +#define lxc_config_define(name) \ + static int set_config_##name(const char *, const char *, \ + struct lxc_conf *, void *); \ + static int get_config_##name(const char *, char *, int, \ + struct lxc_conf *, void *); \ + static int clr_config_##name(const char *, struct lxc_conf *, void *); lxc_config_define(personality); lxc_config_define(pty_max); @@ -2054,8 +2052,9 @@ static int parse_line(char *buffer, void *data) * legacy configuration item in the configuration file and then * an update is required. */ - fprintf(stderr, "The configuration file contains legacy configuration keys.\n" - "Please update your configuration file!\n"); + fprintf(stderr, "The configuration file contains legacy " + "configuration keys.\nPlease update your " + "configuration file!\n"); } /* [END]: REMOVE IN LXC 3.0 */ diff --git a/src/lxc/confile.h b/src/lxc/confile.h index f939c61c9..d50217860 100644 --- a/src/lxc/confile.h +++ b/src/lxc/confile.h @@ -26,9 +26,9 @@ #ifndef __LXC_CONFILE_H #define __LXC_CONFILE_H +#include #include #include -#include struct lxc_conf; struct lxc_list;