diff options
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | 2019-01-24 10:12:36 +0100 |
---|---|---|
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | 2019-01-24 11:21:59 +0100 |
commit | 4d762f2607f07b55f464bae4ec0eb7fdf7c656a9 (patch) | |
tree | c8e9c8056c9fec104ec152ccf254c282fa6a90c6 /ospfd/ospf_route.c | |
parent | Merge pull request #3508 from chiragshah6/evpn_dev2 (diff) | |
download | frr-4d762f2607f07b55f464bae4ec0eb7fdf7c656a9.tar.xz frr-4d762f2607f07b55f464bae4ec0eb7fdf7c656a9.zip |
Treewide: use ANSI function definitions
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
Diffstat (limited to 'ospfd/ospf_route.c')
-rw-r--r-- | ospfd/ospf_route.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ospfd/ospf_route.c b/ospfd/ospf_route.c index 7ee91b5b6..da83c1dda 100644 --- a/ospfd/ospf_route.c +++ b/ospfd/ospf_route.c @@ -39,7 +39,7 @@ #include "ospfd/ospf_zebra.h" #include "ospfd/ospf_dump.h" -struct ospf_route *ospf_route_new() +struct ospf_route *ospf_route_new(void) { struct ospf_route *new; @@ -51,7 +51,7 @@ struct ospf_route *ospf_route_new() return new; } -void ospf_route_free(struct ospf_route * or) +void ospf_route_free(struct ospf_route *or) { if (or->paths) list_delete(& or->paths); @@ -59,7 +59,7 @@ void ospf_route_free(struct ospf_route * or) XFREE(MTYPE_OSPF_ROUTE, or); } -struct ospf_path *ospf_path_new() +struct ospf_path *ospf_path_new(void) { struct ospf_path *new; |