From 00d252cb5ff21ecc537ab40385316b41622a95e2 Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 23 May 2005 14:19:54 +0000 Subject: 2005-05-23 Paul Jakma * bgp_fsm.h: Add extern qualifier to exported functions * bgp_nexthop.c: add static to nexthop specific globals * *.h: Add guard defines --- bgpd/bgp_nexthop.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'bgpd/bgp_nexthop.c') diff --git a/bgpd/bgp_nexthop.c b/bgpd/bgp_nexthop.c index df55f326..20434e11 100644 --- a/bgpd/bgp_nexthop.c +++ b/bgpd/bgp_nexthop.c @@ -45,24 +45,24 @@ struct bgp_nexthop_cache *zlookup_query_ipv6 (struct in6_addr *); #endif /* HAVE_IPV6 */ /* Only one BGP scan thread are activated at the same time. */ -struct thread *bgp_scan_thread = NULL; +static struct thread *bgp_scan_thread = NULL; /* BGP import thread */ -struct thread *bgp_import_thread = NULL; +static struct thread *bgp_import_thread = NULL; /* BGP scan interval. */ -int bgp_scan_interval; +static int bgp_scan_interval; /* BGP import interval. */ -int bgp_import_interval; +static int bgp_import_interval; /* Route table for next-hop lookup cache. */ -struct bgp_table *bgp_nexthop_cache_table[AFI_MAX]; -struct bgp_table *cache1_table[AFI_MAX]; -struct bgp_table *cache2_table[AFI_MAX]; +static struct bgp_table *bgp_nexthop_cache_table[AFI_MAX]; +static struct bgp_table *cache1_table[AFI_MAX]; +static struct bgp_table *cache2_table[AFI_MAX]; /* Route table for connected route. */ -struct bgp_table *bgp_connected_table[AFI_MAX]; +static struct bgp_table *bgp_connected_table[AFI_MAX]; /* BGP nexthop lookup query client. */ static struct zclient *zlookup = NULL; -- cgit v1.2.1