Skip to content

Commit

Permalink
confile: non-functional changes
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Aug 22, 2017
1 parent ed07dfa commit 861d1ad
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
19 changes: 9 additions & 10 deletions src/lxc/confile.c
Expand Up @@ -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);
Expand Down Expand Up @@ -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 */

Expand Down
2 changes: 1 addition & 1 deletion src/lxc/confile.h
Expand Up @@ -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;
Expand Down

0 comments on commit 861d1ad

Please sign in to comment.