* (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>
/* 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;
}
static void
-rip_update_default_metric ()
+rip_update_default_metric (void)
{
struct route_node *np;
struct rip_info *rinfo;
};
static struct rip_distance *
-rip_distance_new ()
+rip_distance_new (void)
{
struct rip_distance *new;
new = XMALLOC (MTYPE_RIP_DISTANCE, sizeof (struct rip_distance));
}
static void
-rip_distance_reset ()
+rip_distance_reset (void)
{
struct route_node *rn;
struct rip_distance *rdistance;
\f
/* Delete all added rip route. */
void
-rip_clean ()
+rip_clean (void)
{
int i;
struct route_node *rp;
/* Reset all values to the default settings. */
void
-rip_reset ()
+rip_reset (void)
{
/* Reset global counters. */
rip_global_route_changes = 0;