X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Ftest-app-ctx%2Fhello.c;h=e9e45ec7c51db46aae588276d14085322136ac06;hb=fb31eb73d8a4a6d9784ed5c335b7fa3b9684108c;hp=f2859a7a13612318650abc313cafddd7c3b25e06;hpb=553bbf7f38652084ed7966c7817b8ccb372b14e1;p=lttng-ust.git diff --git a/tests/test-app-ctx/hello.c b/tests/test-app-ctx/hello.c index f2859a7a..e9e45ec7 100644 --- a/tests/test-app-ctx/hello.c +++ b/tests/test-app-ctx/hello.c @@ -17,22 +17,23 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include -#include -#include -#include -#include -#include #include #include +#include +#include +#include #include -#include +#include +#include +#include +#include /* * Work-around inet.h missing struct mmsghdr forward declaration, with * triggers a warning when system files warnings are enabled. */ struct mmsghdr; #include +#include #include #include @@ -44,7 +45,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) {