X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=gettime.c;h=8b3e1e5246eb5787663d51560219b6c6b0c4d7b9;hp=4c998e5ff89f1dc72503f01f2552cdde78538437;hb=b4ea84daaf58566fe21e50d6540a8bc287d91863;hpb=77b640d884c186354517a68750c83772a9d3b252 diff --git a/gettime.c b/gettime.c index 4c998e5f..8b3e1e52 100644 --- a/gettime.c +++ b/gettime.c @@ -25,7 +25,7 @@ struct tv_valid { int last_tv_valid; }; #ifdef CONFIG_TLS_THREAD -static struct tv_valid __thread static_tv_valid; +static __thread struct tv_valid static_tv_valid; #else static pthread_key_t tv_tls_key; #endif