]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lsfd: add static modifier to nodev_table
authorMasatake YAMATO <yamato@redhat.com>
Mon, 7 Mar 2022 09:17:25 +0000 (18:17 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Mon, 4 Apr 2022 12:05:58 +0000 (21:05 +0900)
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
misc-utils/lsfd.c

index 49c3f4b1f2de41a2d058b40cd15c59d4999ddaed..414d04801d8472e85e6d959752ed5a37e1eee711 100644 (file)
@@ -73,7 +73,8 @@ struct nodev {
 struct nodev_table {
 #define NODEV_TABLE_SIZE 97
        struct list_head tables[NODEV_TABLE_SIZE];
-} nodev_table;
+};
+static struct nodev_table nodev_table;
 
 struct name_manager {
        struct idcache *cache;