summaryrefslogtreecommitdiff
path: root/bgpd
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-05-08 15:19:07 -0700
committerPaul Jakma <paul@quagga.net>2009-06-18 20:18:28 +0100
commitdde7258666fd73878b4cc10b4b5b7c07e9be049e (patch)
tree9275ed492957279eaf8bfa0c02fc141247309c09 /bgpd
parent9607d98cb04e5dff34cb2f6fb6434455c6841ab8 (diff)
[bgpd] Make declarations match
These variables are const.
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/bgp_route.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index 65f54e77..01b3898a 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,