From 5f2a6ec4e135bb467b675fe62fe5c7347136281b Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Tue, 4 May 2021 08:57:52 +0200 Subject: [PATCH] confile: make per_name struct static Signed-off-by: Christian Brauner --- src/lxc/confile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[] = { -- 2.47.2