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/lacp.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/lacp.c')
-rw-r--r-- | lib/lacp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/lacp.c b/lib/lacp.c index ce5343b76..46d5bfb17 100644 --- a/lib/lacp.c +++ b/lib/lacp.c @@ -92,7 +92,7 @@ enum slave_status { }; struct lacp { - struct list node; /* Node in all_lacps list. */ + struct ovs_list node; /* Node in all_lacps list. */ char *name; /* Name of this lacp object. */ uint8_t sys_id[ETH_ADDR_LEN]; /* System ID. */ uint16_t sys_priority; /* System Priority. */ @@ -132,8 +132,8 @@ struct slave { }; static struct ovs_mutex mutex; -static struct list all_lacps__ = LIST_INITIALIZER(&all_lacps__); -static struct list *const all_lacps OVS_GUARDED_BY(mutex) = &all_lacps__; +static struct ovs_list all_lacps__ = LIST_INITIALIZER(&all_lacps__); +static struct ovs_list *const all_lacps OVS_GUARDED_BY(mutex) = &all_lacps__; static void lacp_update_attached(struct lacp *) OVS_REQUIRES(mutex); |