summaryrefslogtreecommitdiff
path: root/babeld/babel_interface.c
diff options
context:
space:
mode:
authorMatthieu Boutier <boutier@pps.jussieu.fr>2012-01-08 16:43:08 +0100
committerPaul Jakma <paul@quagga.net>2012-03-25 17:06:52 +0100
commitc7c53fa88ccdbc2d48cf7327c9e4f33cdc517a8a (patch)
tree9bd7e691165412840555be6d10a7a37b69b00bc0 /babeld/babel_interface.c
parent3dbda0ceebe369a1071600fe7d8d8ecf45f1027c (diff)
babeld: address some other compilation warnings.
Diffstat (limited to 'babeld/babel_interface.c')
-rw-r--r--babeld/babel_interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/babeld/babel_interface.c b/babeld/babel_interface.c
index ff9c5eb4..4bd4499a 100644
--- a/babeld/babel_interface.c
+++ b/babeld/babel_interface.c
@@ -61,7 +61,7 @@ static int interface_reset(struct interface *ifp);
static int babel_if_new_hook (struct interface *ifp);
static int babel_if_delete_hook (struct interface *ifp);
static int interface_config_write (struct vty *vty);
-static babel_interface_nfo * babel_interface_allocate ();
+static babel_interface_nfo * babel_interface_allocate (void);
static void babel_interface_free (babel_interface_nfo *bi);
@@ -738,7 +738,7 @@ interface_config_write (struct vty *vty)
/* functions to allocate or free memory for a babel_interface_nfo, filling
needed fields */
static babel_interface_nfo *
-babel_interface_allocate ()
+babel_interface_allocate (void)
{
babel_interface_nfo *babel_ifp;
babel_ifp = XMALLOC(MTYPE_BABEL_IF, sizeof(babel_interface_nfo));