summaryrefslogtreecommitdiff
path: root/bgpd/bgp_aspath.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-12-17 13:14:28 +0300
committerDenis Ovsienko <infrastation@yandex.ru>2009-12-17 13:14:28 +0300
commitda88ea82acd70adf3bab641b2300ee24319da422 (patch)
tree81151de47e55067c4b7d9cd718c0e6c8ab07aa50 /bgpd/bgp_aspath.h
parent2c2397059d4d4177ed4636c08aa476a138425dc8 (diff)
bgpd: code cleanup
* bgpd/bgp_aspath.c * ashash: only used in one file, make static * aspath_count_numas(): dead code, sayonara * bgpd/bgpd.c * peer_nsf_stop(): only used in one file, make static * bgpd/bgp_packet.h * bgp_capability_receive(): add missing prototype for a global function
Diffstat (limited to 'bgpd/bgp_aspath.h')
-rw-r--r--bgpd/bgp_aspath.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/bgpd/bgp_aspath.h b/bgpd/bgp_aspath.h
index 9854d186..b8a5dfab 100644
--- a/bgpd/bgp_aspath.h
+++ b/bgpd/bgp_aspath.h
@@ -99,7 +99,6 @@ extern size_t aspath_put (struct stream *, struct aspath *, int);
extern struct aspath *aspath_reconcile_as4 (struct aspath *, struct aspath *);
extern unsigned int aspath_has_as4 (struct aspath *);
-extern unsigned int aspath_count_numas (struct aspath *);
/* For SNMP BGP4PATHATTRASPATHSEGMENT, might be useful for debug */
extern u_char *aspath_snmp_pathseg (struct aspath *, size_t *);