From: Stephen Hemminger Date: Fri, 8 May 2009 22:19:07 +0000 (-0700) Subject: [bgpd] Make declarations match X-Git-Tag: frr-2.0-rc1~2304 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=dde7258666fd73878b4cc10b4b5b7c07e9be049e;p=matthieu%2Ffrr.git [bgpd] Make declarations match These variables are const. --- diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 65f54e7709..01b3898a05 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -56,8 +56,8 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA #include "bgpd/bgp_vty.h" /* Extern from bgp_dump.c */ -extern char *bgp_origin_str[]; -extern char *bgp_origin_long_str[]; +extern const char *bgp_origin_str[]; +extern const char *bgp_origin_long_str[]; static struct bgp_node * bgp_afi_node_get (struct bgp_table *table, afi_t afi, safi_t safi, struct prefix *p,