Without "void", this is a pre-ANSI style function definition that has
subtly different semantics.

Found by sparse.

Signed-off-by: Ben Pfaff <b...@ovn.org>
---
 ovsdb/jsonrpc-server.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ovsdb/jsonrpc-server.c b/ovsdb/jsonrpc-server.c
index 1dcd394..2065702 100644
--- a/ovsdb/jsonrpc-server.c
+++ b/ovsdb/jsonrpc-server.c
@@ -1374,7 +1374,7 @@ ovsdb_jsonrpc_monitor_flush_all(struct 
ovsdb_jsonrpc_session *s)
 }
 
 void
-ovsdb_jsonrpc_disable_monitor2()
+ovsdb_jsonrpc_disable_monitor2(void)
 {
     /* Once disabled, it is not possible to re-enable it. */
     monitor2_enable__ = false;
-- 
2.1.3

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to