]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
confile: make per_name struct static
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 4 May 2021 06:57:52 +0000 (08:57 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 4 May 2021 13:14:09 +0000 (15:14 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/confile.c

index e04cd714e1f9a0af8e1bd12c0cc405642ac06142..ba24ed77c0ab7e1d56b15498f87534131bf57884 100644 (file)
@@ -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[] = {