From: Guus Sliepen Date: Sun, 12 Jul 2015 11:08:34 +0000 (+0200) Subject: Make subnet caches static. X-Git-Tag: release-1.1pre12~104 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=7b831804aafa370a6c8d9e86caee31cda1a3dd72;p=tinc Make subnet caches static. --- diff --git a/src/subnet.c b/src/subnet.c index 534e5b53..090a62bf 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);