From: Ed Maste Date: Wed, 8 Aug 2012 18:29:32 +0000 (+0000) Subject: lib: Correct "old-style function definition" warning. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=574b679c2fc3fdebdf4b6bcf20a86a05bee82475;p=openvswitch lib: Correct "old-style function definition" warning. Signed-off-by: Ed Maste Signed-off-by: Ben Pfaff --- diff --git a/lib/route-table-bsd.c b/lib/route-table-bsd.c index 1c290717..eb4a1684 100644 --- a/lib/route-table-bsd.c +++ b/lib/route-table-bsd.c @@ -104,7 +104,7 @@ route_table_get_name(ovs_be32 ip, char name[IFNAMSIZ]) } void -route_table_register() +route_table_register(void) { if (!register_count) { @@ -115,7 +115,7 @@ route_table_register() } void -route_table_unregister() +route_table_unregister(void) { register_count--; }