diff options
author | paul <paul> | 2005-05-23 14:19:54 +0000 |
---|---|---|
committer | paul <paul> | 2005-05-23 14:19:54 +0000 |
commit | 630a3d77e6fddfe8bed436917ad006cc35d534dc (patch) | |
tree | ee035ce28a372ffd8e58183ce41cbc5e64f12bb4 /bgpd/bgp_nexthop.c | |
parent | cc44b789a37b50587bee2a9c75bd5936cdadd294 (diff) | |
download | quagga-630a3d77e6fddfe8bed436917ad006cc35d534dc.tar.bz2 quagga-630a3d77e6fddfe8bed436917ad006cc35d534dc.tar.xz |
2005-05-23 Paul Jakma <paul@dishone.st>
* bgp_fsm.h: Add extern qualifier to exported functions
* bgp_nexthop.c: add static to nexthop specific globals
* *.h: Add guard defines
Diffstat (limited to 'bgpd/bgp_nexthop.c')
-rw-r--r-- | bgpd/bgp_nexthop.c | 16 |
1 files changed, 8 insertions, 8 deletions
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; |