summaryrefslogtreecommitdiff
path: root/ovsdb/ovsdb-tool.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-02-11 11:11:23 -0800
committerBen Pfaff <blp@nicira.com>2010-02-11 11:11:23 -0800
commitc69ee87c10818267f991236201150b1fa51ae519 (patch)
treeabea72de06ca718ef0296b88ee84a1bf889fed8c /ovsdb/ovsdb-tool.c
parent62ee3464d99c0e37f38b503321cd46181c5c7617 (diff)
parent67a4917b07031b387beafaedce413b4207214059 (diff)
downloadopenvswitch-c69ee87c10818267f991236201150b1fa51ae519.tar.gz
Merge "master" into "next".
The main change here is the need to update all of the uses of UNUSED in the next branch to OVS_UNUSED as it is now spelled on "master".
Diffstat (limited to 'ovsdb/ovsdb-tool.c')
-rw-r--r--ovsdb/ovsdb-tool.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ovsdb/ovsdb-tool.c b/ovsdb/ovsdb-tool.c
index 1f2a5ef7e..34c767618 100644
--- a/ovsdb/ovsdb-tool.c
+++ b/ovsdb/ovsdb-tool.c
@@ -150,7 +150,7 @@ check_ovsdb_error(struct ovsdb_error *error)
}
static void
-do_create(int argc UNUSED, char *argv[])
+do_create(int argc OVS_UNUSED, char *argv[])
{
const char *db_file_name = argv[1];
const char *schema_file_name = argv[2];
@@ -190,13 +190,13 @@ transact(bool read_only, const char *db_file_name, const char *transaction)
}
static void
-do_query(int argc UNUSED, char *argv[])
+do_query(int argc OVS_UNUSED, char *argv[])
{
transact(true, argv[1], argv[2]);
}
static void
-do_transact(int argc UNUSED, char *argv[])
+do_transact(int argc OVS_UNUSED, char *argv[])
{
transact(false, argv[1], argv[2]);
}
@@ -281,7 +281,7 @@ print_db_changes(struct shash *tables, struct shash *names)
}
static void
-do_show_log(int argc UNUSED, char *argv[])
+do_show_log(int argc OVS_UNUSED, char *argv[])
{
const char *db_file_name = argv[1];
struct shash names;
@@ -329,7 +329,7 @@ do_show_log(int argc UNUSED, char *argv[])
}
static void
-do_help(int argc UNUSED, char *argv[] UNUSED)
+do_help(int argc OVS_UNUSED, char *argv[] OVS_UNUSED)
{
usage();
}