Fix static linking: fix symbol name namespaces
[urcu.git] / urcu-bp.c
index b9c89d899ea0d744246aa369d8417d8b5a1c4cec..b07a1bbed912a5998c1089a2237825d2801f7032 100644 (file)
--- a/urcu-bp.c
+++ b/urcu-bp.c
@@ -36,7 +36,7 @@
 #include <unistd.h>
 #include <sys/mman.h>
 
-#include "urcu/wfqueue.h"
+#include "urcu/wfcqueue.h"
 #include "urcu/map/urcu-bp.h"
 #include "urcu/static/urcu-bp.h"
 #include "urcu-pointer.h"
@@ -105,8 +105,8 @@ void __attribute__((destructor)) rcu_bp_exit(void);
 static pthread_mutex_t rcu_gp_lock = PTHREAD_MUTEX_INITIALIZER;
 
 #ifdef DEBUG_YIELD
-unsigned int yield_active;
-DEFINE_URCU_TLS(unsigned int, rand_yield);
+unsigned int rcu_yield_active;
+DEFINE_URCU_TLS(unsigned int, rcu_rand_yield);
 #endif
 
 /*
@@ -164,7 +164,7 @@ static void mutex_unlock(pthread_mutex_t *mutex)
                urcu_die(ret);
 }
 
-void update_counter_and_wait(void)
+static void update_counter_and_wait(void)
 {
        CDS_LIST_HEAD(qsreaders);
        int wait_loops = 0;
This page took 0.022569 seconds and 4 git commands to generate.