summaryrefslogtreecommitdiff
path: root/ripd
diff options
context:
space:
mode:
authorpaul <paul>2005-10-25 23:35:28 +0000
committerpaul <paul>2005-10-25 23:35:28 +0000
commit216565ab68148d3161422c0d73730614bfeccd7c (patch)
treed744175fb88d741b40a8131848b361bf8c842084 /ripd
parentdc63bfd49513b7ca157c3992c8bc9da9d736fc39 (diff)
2005-10-26 Paul Jakma <paul.jakma@sun.com>
* ripd.c: Update couple more functions to specify void explicitely.
Diffstat (limited to 'ripd')
-rw-r--r--ripd/ChangeLog2
-rw-r--r--ripd/ripd.c12
2 files changed, 8 insertions, 6 deletions
diff --git a/ripd/ChangeLog b/ripd/ChangeLog
index 8e5ba394..e93a57ca 100644
--- a/ripd/ChangeLog
+++ b/ripd/ChangeLog
@@ -3,6 +3,8 @@
* (general) static/extern functions and definitions.
* rip_interface.h: new file, export the public functions from
rip_interface.c
+ * ripd.c: Update couple more functions to specify void
+ explicitely.
2005-10-17 Vincent Jardin <vincent.jardin@6wind.com>
diff --git a/ripd/ripd.c b/ripd/ripd.c
index a7286d3c..2e2b2849 100644
--- a/ripd/ripd.c
+++ b/ripd/ripd.c
@@ -2602,7 +2602,7 @@ rip_update (struct thread *t)
/* Walk down the RIP routing table then clear changed flag. */
static void
-rip_clear_changed_flag ()
+rip_clear_changed_flag (void)
{
struct route_node *rp;
struct rip_info *rinfo;
@@ -2992,7 +2992,7 @@ DEFUN (no_rip_route,
}
static void
-rip_update_default_metric ()
+rip_update_default_metric (void)
{
struct route_node *np;
struct rip_info *rinfo;
@@ -3128,7 +3128,7 @@ struct rip_distance
};
static struct rip_distance *
-rip_distance_new ()
+rip_distance_new (void)
{
struct rip_distance *new;
new = XMALLOC (MTYPE_RIP_DISTANCE, sizeof (struct rip_distance));
@@ -3229,7 +3229,7 @@ rip_distance_unset (struct vty *vty, const char *distance_str,
}
static void
-rip_distance_reset ()
+rip_distance_reset (void)
{
struct route_node *rn;
struct rip_distance *rdistance;
@@ -3815,7 +3815,7 @@ rip_distribute_update_all_wrapper(struct access_list *notused)
/* Delete all added rip route. */
void
-rip_clean ()
+rip_clean (void)
{
int i;
struct route_node *rp;
@@ -3902,7 +3902,7 @@ rip_clean ()
/* Reset all values to the default settings. */
void
-rip_reset ()
+rip_reset (void)
{
/* Reset global counters. */
rip_global_route_changes = 0;