X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Ftest-app-ctx%2Fhello.c;h=197df21e1ada8bbc1d9e1cdadfc992ae522abd0c;hb=16adecf1f2e80025667ed53f4905e725894f076a;hp=f2859a7a13612318650abc313cafddd7c3b25e06;hpb=9b3a9a1f8ee47787e50a130b444dae38eee5dca0;p=lttng-ust.git diff --git a/tests/test-app-ctx/hello.c b/tests/test-app-ctx/hello.c index f2859a7a..197df21e 100644 --- a/tests/test-app-ctx/hello.c +++ b/tests/test-app-ctx/hello.c @@ -26,7 +26,6 @@ #include #include #include -#include /* * Work-around inet.h missing struct mmsghdr forward declaration, with * triggers a warning when system files warnings are enabled. @@ -44,7 +43,7 @@ struct mmsghdr; #include #include -static DEFINE_URCU_TLS_IE(unsigned int, test_count); +static __thread unsigned int test_count; void test_inc_count(void) {