summaryrefslogtreecommitdiff
path: root/lib/yang.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/yang.c
parent33de8d1dd02dfb53f125c8213c896bc62f6c6d8e (diff)
lib: make some variables static
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/yang.c')
-rw-r--r--lib/yang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yang.c b/lib/yang.c
index d153f75530..78ea7d0dd0 100644
--- a/lib/yang.c
+++ b/lib/yang.c
@@ -87,7 +87,7 @@ static inline int yang_module_compare(const struct yang_module *a,
}
RB_GENERATE(yang_modules, yang_module, entry, yang_module_compare)
-struct yang_modules yang_modules = RB_INITIALIZER(&yang_modules);
+static struct yang_modules yang_modules = RB_INITIALIZER(&yang_modules);
struct yang_module *yang_module_load(const char *module_name)
{