diff options
author | Thomas Graf <tgraf@noironetworks.com> | 2014-12-15 14:10:38 +0100 |
---|---|---|
committer | Thomas Graf <tgraf@noironetworks.com> | 2014-12-15 14:15:12 +0100 |
commit | ca6ba70092b1528e12d3140d70232175a13c335d (patch) | |
tree | 49c4bab3a1745a6d618582096e27b9ffaf8d8ffa /lib/stp.c | |
parent | 8c7be52d10a1e9a4745249a4a94540df13d847a3 (diff) | |
download | openvswitch-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); \ |