summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_aspath.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-05-20 03:12:17 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-05-20 03:12:17 +0200
commitffd0c03744b89328d4f8e134f17cecb07ead6e74 (patch)
tree54b70b9c50d2af6667715df80064e6dc8058e4e1 /bgpd/bgp_aspath.h
parentzebra: zebra-warnings.patch (diff)
downloadfrr-ffd0c03744b89328d4f8e134f17cecb07ead6e74.tar.xz
frr-ffd0c03744b89328d4f8e134f17cecb07ead6e74.zip
bgpd: bgpd-warnings.patch
Remove compile warnings for the bgpd directory Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by:
Diffstat (limited to 'bgpd/bgp_aspath.h')
-rw-r--r--bgpd/bgp_aspath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_aspath.h b/bgpd/bgp_aspath.h
index 8846949cb..ec2df042f 100644
--- a/bgpd/bgp_aspath.h
+++ b/bgpd/bgp_aspath.h
@@ -105,7 +105,7 @@ extern int aspath_firstas_check (struct aspath *, as_t);
extern int aspath_confed_check (struct aspath *);
extern int aspath_left_confed_check (struct aspath *);
extern unsigned long aspath_count (void);
-extern unsigned int aspath_count_hops (struct aspath *);
+extern unsigned int aspath_count_hops (const struct aspath *);
extern unsigned int aspath_count_confeds (struct aspath *);
extern unsigned int aspath_size (struct aspath *);
extern as_t aspath_highest (struct aspath *);