Cleanup: apply `include-what-you-use` guideline for `size_t`
[lttng-ust.git] / tests / test-app-ctx / hello.c
index f2859a7a13612318650abc313cafddd7c3b25e06..85064846ab60ca449ac17045df97c12e0ee2566b 100644 (file)
 #include <fcntl.h>
 #include <signal.h>
 #include <string.h>
-#include <urcu/tls-compat.h>
 /*
  * Work-around inet.h missing struct mmsghdr forward declaration, with
  * triggers a warning when system files warnings are enabled.
  */
 struct mmsghdr;
 #include <arpa/inet.h>
+#include <stddef.h>
 #include <stdlib.h>
 #include <stdbool.h>
 
@@ -44,7 +44,7 @@ struct mmsghdr;
 #include <lttng/ringbuffer-config.h>
 #include <lttng/ust-context-provider.h>
 
-static DEFINE_URCU_TLS_IE(unsigned int, test_count);
+static __thread unsigned int test_count;
 
 void test_inc_count(void)
 {
This page took 0.023205 seconds and 4 git commands to generate.