summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_damp.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-05-15 11:14:50 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-05-15 11:14:50 -0700
commitc79601be23704a67bf57180c68bdd99c8597b9b5 (patch)
tree0fba4031e2dbee0d61d1fdd85d98cebc88f77749 /bgpd/bgp_damp.c
parenteba0c68edeea14ae926ba3eed69723c5d28863e8 (diff)
parenta934c0d16652b8089b46df855780d5c775dfe27e (diff)
downloadquagga-c79601be23704a67bf57180c68bdd99c8597b9b5.tar.bz2
quagga-c79601be23704a67bf57180c68bdd99c8597b9b5.tar.xz
Merge branch 'jenner' of nehalam:git/vyatta-quagga into jenner
Diffstat (limited to 'bgpd/bgp_damp.c')
-rw-r--r--bgpd/bgp_damp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bgpd/bgp_damp.c b/bgpd/bgp_damp.c
index 3283d448..40edb646 100644
--- a/bgpd/bgp_damp.c
+++ b/bgpd/bgp_damp.c
@@ -36,7 +36,7 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
/* Global variable to access damping configuration */
struct bgp_damp_config bgp_damp_cfg;
-struct bgp_damp_config *damp = &bgp_damp_cfg;
+static struct bgp_damp_config *damp = &bgp_damp_cfg;
/* Utility macro to add and delete BGP dampening information to no
used list. */
@@ -541,7 +541,7 @@ bgp_config_write_damp (struct vty *vty)
VTY_NEWLINE);
}
-char *
+static const char *
bgp_get_reuse_time (unsigned int penalty, char *buf, size_t len)
{
time_t reuse_time = 0;
@@ -613,7 +613,7 @@ bgp_damp_info_vty (struct vty *vty, struct bgp_info *binfo)
vty_out (vty, "%s", VTY_NEWLINE);
}
-char *
+const char *
bgp_damp_reuse_time_vty (struct vty *vty, struct bgp_info *binfo,
char *timebuf, size_t len)
{