summaryrefslogtreecommitdiff
path: root/gettime.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2013-04-11 14:20:33 +0200
committerJens Axboe <axboe@kernel.dk>2013-04-11 14:20:33 +0200
commitb4ea84daaf58566fe21e50d6540a8bc287d91863 (patch)
tree348a5c292be35a0119b65498ab7cf86b0fd75b66 /gettime.c
parent77b640d884c186354517a68750c83772a9d3b252 (diff)
downloadfio-b4ea84daaf58566fe21e50d6540a8bc287d91863.tar.gz
fio-b4ea84daaf58566fe21e50d6540a8bc287d91863.tar.bz2
Fix a few 4.8 extra anal warnings
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'gettime.c')
-rw-r--r--gettime.c2
1 files changed, 1 insertions, 1 deletions
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