lib: Correct "old-style function definition" warning.
authorEd Maste <emaste@freebsd.org>
Wed, 8 Aug 2012 18:29:32 +0000 (18:29 +0000)
committerBen Pfaff <blp@nicira.com>
Wed, 8 Aug 2012 19:26:17 +0000 (12:26 -0700)
Signed-off-by: Ed Maste <emaste@freebsd.org>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/route-table-bsd.c

index 1c290717a937a64f3336af836f755e5e7607e615..eb4a16848264182a9465622c6a3726b3458db3ee 100644 (file)
@@ -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--;
 }