summaryrefslogtreecommitdiff
path: root/lib/netns_other.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-11-27 21:17:57 +0100
committerDavid Lamparter <equinox@diac24.net>2019-12-13 06:22:34 +0100
commit1b3e9a21dd4af572deed0d40dd26c8d041e94eae (patch)
tree11c64fb3a22924562484aac931d153c870627b13 /lib/netns_other.c
parent33de8d1dd02dfb53f125c8213c896bc62f6c6d8e (diff)
lib: make some variables static
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/netns_other.c')
-rw-r--r--lib/netns_other.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/netns_other.c b/lib/netns_other.c
index b0aae4f8df..740d2b621e 100644
--- a/lib/netns_other.c
+++ b/lib/netns_other.c
@@ -34,7 +34,7 @@ static inline int ns_compare(const struct ns *ns, const struct ns *ns2);
RB_GENERATE(ns_head, ns, entry, ns_compare)
-struct ns_head ns_tree = RB_INITIALIZER(&ns_tree);
+static struct ns_head ns_tree = RB_INITIALIZER(&ns_tree);
static inline int ns_compare(const struct ns *a, const struct ns *b)
{