summaryrefslogtreecommitdiff
path: root/lib/stp.c
diff options
context:
space:
mode:
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); \