summaryrefslogtreecommitdiff
path: root/lib/stp.c
diff options
context:
space:
mode:
authorThomas Graf <tgraf@noironetworks.com>2014-12-15 14:10:38 +0100
committerThomas Graf <tgraf@noironetworks.com>2014-12-15 14:15:12 +0100
commitca6ba70092b1528e12d3140d70232175a13c335d (patch)
tree49c4bab3a1745a6d618582096e27b9ffaf8d8ffa /lib/stp.c
parent8c7be52d10a1e9a4745249a4a94540df13d847a3 (diff)
downloadopenvswitch-ca6ba70092b1528e12d3140d70232175a13c335d.tar.gz
list: Rename struct list to struct ovs_list
struct list is a common name and can't be used in public headers. Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/stp.c')
-rw-r--r--lib/stp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/stp.c b/lib/stp.c
index 9055922a1..5854afac0 100644
--- a/lib/stp.c
+++ b/lib/stp.c
@@ -109,7 +109,7 @@ struct stp_port {
};
struct stp {
- struct list node; /* Node in all_stps list. */
+ struct ovs_list node; /* Node in all_stps list. */
/* Static bridge data. */
char *name; /* Human-readable name for log messages. */
@@ -150,8 +150,8 @@ struct stp {
};
static struct ovs_mutex mutex;
-static struct list all_stps__ = LIST_INITIALIZER(&all_stps__);
-static struct list *const all_stps OVS_GUARDED_BY(mutex) = &all_stps__;
+static struct ovs_list all_stps__ = LIST_INITIALIZER(&all_stps__);
+static struct ovs_list *const all_stps OVS_GUARDED_BY(mutex) = &all_stps__;
#define FOR_EACH_ENABLED_PORT(PORT, STP) \
for ((PORT) = stp_next_enabled_port((STP), (STP)->ports); \