summaryrefslogtreecommitdiff
path: root/ospfd/ospf_interface.c
diff options
context:
space:
mode:
authorRuben Kerkhof <ruben@rubenkerkhof.com>2019-01-24 10:12:36 +0100
committerRuben Kerkhof <ruben@rubenkerkhof.com>2019-01-24 11:21:59 +0100
commit4d762f2607f07b55f464bae4ec0eb7fdf7c656a9 (patch)
treec8e9c8056c9fec104ec152ccf254c282fa6a90c6 /ospfd/ospf_interface.c
parent262d4dda2aa009f200370a4c4635899ceb85ab90 (diff)
Treewide: use ANSI function definitions
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
Diffstat (limited to 'ospfd/ospf_interface.c')
-rw-r--r--ospfd/ospf_interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospf_interface.c b/ospfd/ospf_interface.c
index f1477ba14d..ce1604a5b1 100644
--- a/ospfd/ospf_interface.c
+++ b/ospfd/ospf_interface.c
@@ -1182,7 +1182,7 @@ int ospf_vls_in_area(struct ospf_area *area)
}
-struct crypt_key *ospf_crypt_key_new()
+struct crypt_key *ospf_crypt_key_new(void)
{
return XCALLOC(MTYPE_OSPF_CRYPT_KEY, sizeof(struct crypt_key));
}
@@ -1230,7 +1230,7 @@ uint8_t ospf_default_iftype(struct interface *ifp)
return OSPF_IFTYPE_BROADCAST;
}
-void ospf_if_init()
+void ospf_if_init(void)
{
/* Initialize Zebra interface data structure. */
hook_register_prio(if_add, 0, ospf_if_new_hook);