Fix: uatomic arm32: add missing release barrier before uatomic_xchg
[urcu.git] / tests / common / api.h
index 14033596885bce51b77df4e5c958eb7434a6428e..2b72ec5a485cd028cbe0c8f217047f61b84e1754 100644 (file)
@@ -1,9 +1,6 @@
 #ifndef _INCLUDE_API_H
 #define _INCLUDE_API_H
 
-#define _GNU_SOURCE
-#include "config.h"
-
 /*
  * common.h: Common Linux kernel-isms.
  *
@@ -268,7 +265,7 @@ long long get_microseconds(void)
        struct { \
                __typeof__(type) v \
                        __attribute__((__aligned__(CAA_CACHE_LINE_SIZE))); \
-       } __per_thread_##name[NR_THREADS];
+       } __per_thread_##name[NR_THREADS]
 #define DECLARE_PER_THREAD(type, name) extern DEFINE_PER_THREAD(type, name)
 
 #define per_thread(name, thread) __per_thread_##name[thread].v
This page took 0.022256 seconds and 4 git commands to generate.