From: Christian Brauner Date: Tue, 4 May 2021 06:57:52 +0000 (+0200) Subject: confile: make per_name struct static X-Git-Tag: lxc-5.0.0~178^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f2a6ec4e135bb467b675fe62fe5c7347136281b;p=thirdparty%2Flxc.git confile: make per_name struct static Signed-off-by: Christian Brauner --- diff --git a/src/lxc/confile.c b/src/lxc/confile.c index e04cd714e..ba24ed77c 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -3216,7 +3216,7 @@ void lxc_config_define_free(struct lxc_list *defines) signed long lxc_config_parse_arch(const char *arch) { #if HAVE_SYS_PERSONALITY_H - struct per_name { + static struct per_name { char *name; unsigned long per; } pername[] = {