summaryrefslogtreecommitdiff
path: root/ovsdb/monitor.c
diff options
context:
space:
mode:
authorHan Zhou <hzhou8@ebay.com>2019-02-15 12:25:58 -0800
committerBen Pfaff <blp@ovn.org>2019-02-22 14:51:17 -0800
commitbe084595769412c9621abe2336d7de3ef0f5f351 (patch)
treed96d88b74b8033c3ef939c8ed2f4211814acd367 /ovsdb/monitor.c
parenta3f42026550dc1bcba3ad41dc853ba9b5feec771 (diff)
downloadopenvswitch-be084595769412c9621abe2336d7de3ef0f5f351.tar.gz
ovsdb_monitor: Fix style of prototypes.
Ommiting the parameter names in prototypes, as suggested by coding style: Omit parameter names from function prototypes when the names do not give useful information. Adjust orders of parameters as suggested by coding style. Signed-off-by: Han Zhou <hzhou8@ebay.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'ovsdb/monitor.c')
-rw-r--r--ovsdb/monitor.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/ovsdb/monitor.c b/ovsdb/monitor.c
index 29cf93e28..1175e2846 100644
--- a/ovsdb/monitor.c
+++ b/ovsdb/monitor.c
@@ -165,14 +165,14 @@ typedef struct json *
bool initial, unsigned long int *changed,
size_t n_columns);
-static void ovsdb_monitor_destroy(struct ovsdb_monitor *dbmon);
+static void ovsdb_monitor_destroy(struct ovsdb_monitor *);
static struct ovsdb_monitor_changes * ovsdb_monitor_table_add_changes(
- struct ovsdb_monitor_table *mt, uint64_t next_txn);
+ struct ovsdb_monitor_table *, uint64_t next_txn);
static struct ovsdb_monitor_changes *ovsdb_monitor_table_find_changes(
- struct ovsdb_monitor_table *mt, uint64_t unflushed);
+ struct ovsdb_monitor_table *, uint64_t unflushed);
static void ovsdb_monitor_changes_destroy(
- struct ovsdb_monitor_changes *changes);
-static void ovsdb_monitor_table_track_changes(struct ovsdb_monitor_table *mt,
+ struct ovsdb_monitor_changes *);
+static void ovsdb_monitor_table_track_changes(struct ovsdb_monitor_table *,
uint64_t unflushed);
static uint32_t
@@ -1121,9 +1121,9 @@ struct json *
ovsdb_monitor_get_update(
struct ovsdb_monitor *dbmon,
bool initial, bool cond_updated,
- uint64_t *unflushed_,
struct ovsdb_monitor_session_condition *condition,
- enum ovsdb_monitor_version version)
+ enum ovsdb_monitor_version version,
+ uint64_t *unflushed_)
{
struct ovsdb_monitor_json_cache_node *cache_node = NULL;
struct shash_node *node;