summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_route.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-02-09 11:24:58 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-02-09 11:24:58 -0800
commit86a3d4117c6b959bfed2bf4ceb2500e046c44f18 (patch)
tree9b7d22b5f1f243da871e17a34b972ad183dc70c3 /bgpd/bgp_route.c
parent5dccb9ccc022e5f7c7bd1ba2df128dd1733f6076 (diff)
parent615f5ca44b5f36d0db4ef210131731d3c61b7701 (diff)
downloadquagga-86a3d4117c6b959bfed2bf4ceb2500e046c44f18.tar.bz2
quagga-86a3d4117c6b959bfed2bf4ceb2500e046c44f18.tar.xz
Merge branch 'vyatta-update' of /home/shemminger/src/quagga into jenner
Diffstat (limited to 'bgpd/bgp_route.c')
-rw-r--r--bgpd/bgp_route.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index ff4e0ab4..ac2fd99c 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -127,7 +127,7 @@ bgp_info_extra_get (struct bgp_info *ri)
/* Allocate new bgp info structure. */
static struct bgp_info *
-bgp_info_new ()
+bgp_info_new (void)
{
return XCALLOC (MTYPE_BGP_ROUTE, sizeof (struct bgp_info));
}
@@ -2878,7 +2878,7 @@ bgp_clear_stale_route (struct peer *peer, afi_t afi, safi_t safi)
/* Delete all kernel routes. */
void
-bgp_cleanup_routes ()
+bgp_cleanup_routes (void)
{
struct bgp *bgp;
struct listnode *node, *nnode;
@@ -2909,7 +2909,7 @@ bgp_cleanup_routes ()
}
void
-bgp_reset ()
+bgp_reset (void)
{
vty_reset ();
bgp_zclient_reset ();
@@ -3081,7 +3081,7 @@ bgp_nlri_sanity_check (struct peer *peer, int afi, u_char *pnt,
}
static struct bgp_static *
-bgp_static_new ()
+bgp_static_new (void)
{
return XCALLOC (MTYPE_BGP_STATIC, sizeof (struct bgp_static));
}
@@ -4466,7 +4466,7 @@ struct bgp_aggregate
};
static struct bgp_aggregate *
-bgp_aggregate_new ()
+bgp_aggregate_new (void)
{
return XCALLOC (MTYPE_BGP_AGGREGATE, sizeof (struct bgp_aggregate));
}
@@ -10813,7 +10813,7 @@ struct bgp_distance
};
static struct bgp_distance *
-bgp_distance_new ()
+bgp_distance_new (void)
{
return XCALLOC (MTYPE_BGP_DISTANCE, sizeof (struct bgp_distance));
}
@@ -10912,7 +10912,7 @@ bgp_distance_unset (struct vty *vty, const char *distance_str,
#if 0
static void
-bgp_distance_reset ()
+bgp_distance_reset (void)
{
struct bgp_node *rn;
struct bgp_distance *bdistance;
@@ -11520,7 +11520,7 @@ bgp_config_write_distance (struct vty *vty, struct bgp *bgp)
/* Allocate routing table structure and install commands. */
void
-bgp_route_init ()
+bgp_route_init (void)
{
/* Init BGP distance table. */
bgp_distance_table = bgp_table_init (AFI_IP, SAFI_UNICAST);