From da88ea82acd70adf3bab641b2300ee24319da422 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 17 Dec 2009 13:14:28 +0300 Subject: 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 --- bgpd/bgp_aspath.h | 1 - 1 file changed, 1 deletion(-) (limited to 'bgpd/bgp_aspath.h') 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 *); -- cgit v1.2.1