]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
confile: non-functional changes
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 22 Aug 2017 09:53:29 +0000 (11:53 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 22 Aug 2017 10:05:55 +0000 (12:05 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/confile.c
src/lxc/confile.h

index 82de6979adcfe9328d99ab44629c51599d319599..5c61e6edfac6debfa18aa31cb9b582ad8b5e89c2 100644 (file)
 
 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 */
 
index f939c61c9c1a2458fa2e2277574b5003cabb3c3d..d50217860408e6151774c0d61988f428a481b586 100644 (file)
@@ -26,9 +26,9 @@
 #ifndef __LXC_CONFILE_H
 #define __LXC_CONFILE_H
 
+#include <stdbool.h>
 #include <stdio.h>
 #include <lxc/attach_options.h>
-#include <stdbool.h>
 
 struct lxc_conf;
 struct lxc_list;