summaryrefslogtreecommitdiff
path: root/lib/guarded-list.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/guarded-list.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/guarded-list.c')
-rw-r--r--lib/guarded-list.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/guarded-list.c b/lib/guarded-list.c
index cbb203021..da0a43ebf 100644
--- a/lib/guarded-list.c
+++ b/lib/guarded-list.c
@@ -51,7 +51,7 @@ guarded_list_is_empty(const struct guarded_list *list)
* the list. */
size_t
guarded_list_push_back(struct guarded_list *list,
- struct list *node, size_t max)
+ struct ovs_list *node, size_t max)
{
size_t retval = 0;
@@ -65,10 +65,10 @@ guarded_list_push_back(struct guarded_list *list,
return retval;
}
-struct list *
+struct ovs_list *
guarded_list_pop_front(struct guarded_list *list)
{
- struct list *node = NULL;
+ struct ovs_list *node = NULL;
ovs_mutex_lock(&list->mutex);
if (list->n) {
@@ -81,7 +81,7 @@ guarded_list_pop_front(struct guarded_list *list)
}
size_t
-guarded_list_pop_all(struct guarded_list *list, struct list *elements)
+guarded_list_pop_all(struct guarded_list *list, struct ovs_list *elements)
{
size_t n;