]> git.puffer.fish Git - matthieu/frr.git/commitdiff
[bgpd] Make declarations match
authorStephen Hemminger <stephen.hemminger@vyatta.com>
Fri, 8 May 2009 22:19:07 +0000 (15:19 -0700)
committerPaul Jakma <paul@quagga.net>
Thu, 18 Jun 2009 19:18:28 +0000 (20:18 +0100)
These variables are const.

bgpd/bgp_route.c

index 65f54e770926e00510aebab29ea5619eaf2328d1..01b3898a05327a130b1ddb127ca81d19d8d6fe36 100644 (file)
@@ -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[];
 \f
 static struct bgp_node *
 bgp_afi_node_get (struct bgp_table *table, afi_t afi, safi_t safi, struct prefix *p,