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:16 +0100 |
commit | 55951e15e5603318219ea5efca160723bbb28111 (patch) | |
tree | bd330cbac77f1a8e595fd2e0079d36aa7875eb3c /lib/stp.c | |
parent | ca6ba70092b1528e12d3140d70232175a13c335d (diff) |
lib: Expose struct ovs_list definition in <openvswitch/list.h>
Expose the struct ovs_list definition in <openvswitch/list.h>. Keep the
list access API private for now.
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 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -150,7 +150,7 @@ struct stp { }; static struct ovs_mutex mutex; -static struct ovs_list all_stps__ = LIST_INITIALIZER(&all_stps__); +static struct ovs_list all_stps__ = OVS_LIST_INITIALIZER(&all_stps__); static struct ovs_list *const all_stps OVS_GUARDED_BY(mutex) = &all_stps__; #define FOR_EACH_ENABLED_PORT(PORT, STP) \ |