2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-29 15:28:56 +00:00

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>
This commit is contained in:
Ben Warren
2016-03-25 14:10:22 -07:00
committed by Ben Pfaff
parent b19bab5b20
commit 417e7e66e1
67 changed files with 611 additions and 611 deletions

View File

@@ -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;
}