diff options
| author | David Lamparter <equinox@diac24.net> | 2019-11-27 21:17:57 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2019-12-13 06:22:34 +0100 |
| commit | 1b3e9a21dd4af572deed0d40dd26c8d041e94eae (patch) | |
| tree | 11c64fb3a22924562484aac931d153c870627b13 /lib/routemap.c | |
| parent | 33de8d1dd02dfb53f125c8213c896bc62f6c6d8e (diff) | |
lib: make some variables static
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/routemap.c')
| -rw-r--r-- | lib/routemap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/routemap.c b/lib/routemap.c index c0e01488b2..14fec0283c 100644 --- a/lib/routemap.c +++ b/lib/routemap.c @@ -221,7 +221,7 @@ struct route_map_match_set_hooks { const char *command, const char *arg); }; -struct route_map_match_set_hooks rmap_match_set_hook; +static struct route_map_match_set_hooks rmap_match_set_hook; /* match interface */ void route_map_match_interface_hook(int (*func)( @@ -623,7 +623,7 @@ struct route_map_list { /* Master list of route map. */ static struct route_map_list route_map_master = {NULL, NULL, NULL, NULL, NULL}; -struct hash *route_map_master_hash = NULL; +static struct hash *route_map_master_hash = NULL; static unsigned int route_map_hash_key_make(const void *p) { @@ -683,7 +683,7 @@ struct route_map_dep_data { }; /* Hashes maintaining dependency between various sublists used by route maps */ -struct hash *route_map_dep_hash[ROUTE_MAP_DEP_MAX]; +static struct hash *route_map_dep_hash[ROUTE_MAP_DEP_MAX]; static unsigned int route_map_dep_hash_make_key(const void *p); static void route_map_clear_all_references(char *rmap_name); |
