From 7b831804aafa370a6c8d9e86caee31cda1a3dd72 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sun, 12 Jul 2015 13:08:34 +0200 Subject: [PATCH] Make subnet caches static. --- src/subnet.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/subnet.c b/src/subnet.c index 534e5b5..090a62b 100644 --- a/src/subnet.c +++ b/src/subnet.c @@ -40,9 +40,9 @@ splay_tree_t *subnet_tree; /* Subnet lookup cache */ -hash_t *ipv4_cache; -hash_t *ipv6_cache; -hash_t *mac_cache; +static hash_t *ipv4_cache; +static hash_t *ipv6_cache; +static hash_t *mac_cache; void subnet_cache_flush(void) { hash_clear(ipv4_cache); -- 2.25.1