From 41b04f34e2c10be04dcdde9235bca1ac51e04fea Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Mon, 18 Feb 2019 10:53:27 +0100 Subject: [PATCH] Fix: Uses of __thread after static keyword --- bench/common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bench/common.h b/bench/common.h index a3289387..0d96ea70 100644 --- a/bench/common.h +++ b/bench/common.h @@ -66,10 +66,11 @@ cputime (void) #endif static unsigned long g_result; +static #if defined(MULTI_THREAD_MEASURE) M_THREAD_ATTR #endif -static unsigned int randValue = 0; +unsigned int randValue = 0; static inline void rand_init(void) {