Cleanup: standardise include path
[lttng-ust.git] / liblttng-ust-libc-wrapper / lttng-ust-pthread.c
index 6554a47afe7057f3b8c2c21147574c2f77d5ad09..1e65207f8bc007e69539e3220cca7a89f1e69d67 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#define _GNU_SOURCE
 /*
  * Do _not_ define _LGPL_SOURCE because we don't want to create a
  * circular dependency loop between this malloc wrapper, liburcu and
  * libc.
  */
 #include <lttng/ust-dlfcn.h>
-#include <urcu/tls-compat.h>
 #include <helper.h>
 #include <pthread.h>
 
@@ -32,7 +30,7 @@
 #define TP_IP_PARAM ip
 #include "ust_pthread.h"
 
-static DEFINE_URCU_TLS_IE(int, thread_in_trace);
+static __thread int thread_in_trace;
 
 int pthread_mutex_lock(pthread_mutex_t *mutex)
 {
This page took 0.02779 seconds and 4 git commands to generate.