summaryrefslogtreecommitdiff
path: root/lib/rtbsd.c
diff options
context:
space:
mode:
authorBen Warren <ben@skyportsystems.com>2016-03-25 14:10:22 -0700
committerBen Pfaff <blp@ovn.org>2016-03-30 13:04:32 -0700
commit417e7e66e1217ab984ebb058fb3b469e77e216fc (patch)
tree664ef5b9af86bfdaa212dec9dd3162746a3df890 /lib/rtbsd.c
parentb19bab5b207da94c2f71b8df25fcfe47ee778a29 (diff)
downloadopenvswitch-417e7e66e1217ab984ebb058fb3b469e77e216fc.tar.gz
list: Rename all functions in list.h with ovs_ prefix.
This attempts to prevent namespace collisions with other list libraries Signed-off-by: Ben Warren <ben@skyportsystems.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'lib/rtbsd.c')
-rw-r--r--lib/rtbsd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rtbsd.c b/lib/rtbsd.c
index df708c599..aa9cc9b5a 100644
--- a/lib/rtbsd.c
+++ b/lib/rtbsd.c
@@ -74,7 +74,7 @@ rtbsd_notifier_register(struct rtbsd_notifier *notifier,
}
}
- list_push_back(&all_notifiers, &notifier->node);
+ ovs_list_push_back(&all_notifiers, &notifier->node);
notifier->cb = cb;
notifier->aux = aux;
@@ -90,8 +90,8 @@ rtbsd_notifier_unregister(struct rtbsd_notifier *notifier)
OVS_EXCLUDED(rtbsd_mutex)
{
ovs_mutex_lock(&rtbsd_mutex);
- list_remove(&notifier->node);
- if (list_is_empty(&all_notifiers)) {
+ ovs_list_remove(&notifier->node);
+ if (ovs_list_is_empty(&all_notifiers)) {
close(notify_sock);
notify_sock = -1;
}