summaryrefslogtreecommitdiff
path: root/utilities/ovs-dpctl.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-02-11 10:59:47 -0800
committerBen Pfaff <blp@nicira.com>2010-02-11 10:59:47 -0800
commit67a4917b07031b387beafaedce413b4207214059 (patch)
tree0b14aebd79b746f7f5d943be9829cd359fcb49c5 /utilities/ovs-dpctl.c
parent193ec5109dedb23058dfa734545313b5b3ba10c8 (diff)
downloadopenvswitch-67a4917b07031b387beafaedce413b4207214059.tar.gz
Rename UNUSED macro to OVS_UNUSED to avoid naming conflict.
Requested by Jean Tourrilhes <jt@hpl.hp.com>.
Diffstat (limited to 'utilities/ovs-dpctl.c')
-rw-r--r--utilities/ovs-dpctl.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/utilities/ovs-dpctl.c b/utilities/ovs-dpctl.c
index 932aa893f..133dd401e 100644
--- a/utilities/ovs-dpctl.c
+++ b/utilities/ovs-dpctl.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008, 2009 Nicira Networks.
+ * Copyright (c) 2008, 2009, 2010 Nicira Networks.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -213,7 +213,7 @@ static int if_up(const char *netdev_name)
}
static void
-do_add_dp(int argc UNUSED, char *argv[])
+do_add_dp(int argc OVS_UNUSED, char *argv[])
{
struct dpif *dpif;
run(dpif_create(argv[1], &dpif), "add_dp");
@@ -224,7 +224,7 @@ do_add_dp(int argc UNUSED, char *argv[])
}
static void
-do_del_dp(int argc UNUSED, char *argv[])
+do_del_dp(int argc OVS_UNUSED, char *argv[])
{
struct dpif *dpif;
run(dpif_open(argv[1], &dpif), "opening datapath");
@@ -248,7 +248,7 @@ query_ports(struct dpif *dpif, struct odp_port **ports, size_t *n_ports)
}
static void
-do_add_if(int argc UNUSED, char *argv[])
+do_add_if(int argc OVS_UNUSED, char *argv[])
{
bool failure = false;
struct dpif *dpif;
@@ -326,7 +326,7 @@ get_port_number(struct dpif *dpif, const char *name, uint16_t *port)
}
static void
-do_del_if(int argc UNUSED, char *argv[])
+do_del_if(int argc OVS_UNUSED, char *argv[])
{
bool failure = false;
struct dpif *dpif;
@@ -435,7 +435,7 @@ do_show(int argc, char *argv[])
}
static void
-do_dump_dps(int argc UNUSED, char *argv[] UNUSED)
+do_dump_dps(int argc OVS_UNUSED, char *argv[] OVS_UNUSED)
{
struct svec all_dps;
unsigned int i;
@@ -459,7 +459,7 @@ do_dump_dps(int argc UNUSED, char *argv[] UNUSED)
}
static void
-do_dump_flows(int argc UNUSED, char *argv[])
+do_dump_flows(int argc OVS_UNUSED, char *argv[])
{
struct odp_flow *flows;
struct dpif *dpif;
@@ -489,7 +489,7 @@ do_dump_flows(int argc UNUSED, char *argv[])
}
static void
-do_del_flows(int argc UNUSED, char *argv[])
+do_del_flows(int argc OVS_UNUSED, char *argv[])
{
struct dpif *dpif;
@@ -499,7 +499,7 @@ do_del_flows(int argc UNUSED, char *argv[])
}
static void
-do_dump_groups(int argc UNUSED, char *argv[])
+do_dump_groups(int argc OVS_UNUSED, char *argv[])
{
struct odp_stats stats;
struct dpif *dpif;
@@ -526,7 +526,7 @@ do_dump_groups(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();
}