summaryrefslogtreecommitdiff
path: root/ovsdb
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2015-12-14 03:09:07 -0800
committerBen Pfaff <blp@ovn.org>2015-12-15 00:33:08 -0800
commit5d8b248c8af699d5f52567616f3bf5f125975df7 (patch)
tree4f905cefbd279afe41bc711d3d2d6d68bd402723 /ovsdb
parenteb1746e63583509510978eeb0df62a1c160dfdb3 (diff)
downloadopenvswitch-5d8b248c8af699d5f52567616f3bf5f125975df7.tar.gz
jsonrpc-server: Use prototype style for ovsdb_jsonrpc_disable_monitor2().
Without "void", this is a pre-ANSI style function definition that has subtly different semantics. Found by sparse. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Andy Zhou <azhou@ovn.org>
Diffstat (limited to 'ovsdb')
-rw-r--r--ovsdb/jsonrpc-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ovsdb/jsonrpc-server.c b/ovsdb/jsonrpc-server.c
index 1dcd39429..206570251 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;