summaryrefslogtreecommitdiff
path: root/lib/netns_other.c
diff options
context:
space:
mode:
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)
{