From 626b3c39b917929ddfa3e86b715d8473584bbcc4 Mon Sep 17 00:00:00 2001
From: Philippe Canal <pcanal@fnal.gov>
Date: Thu, 31 Jul 2014 15:19:44 -0500
Subject: [PATCH] Add missing static keyword in some configuration

---
 core/thread/inc/ThreadLocalStorage.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/thread/inc/ThreadLocalStorage.h b/core/thread/inc/ThreadLocalStorage.h
index 10e37084237..189a46439c0 100644
--- a/core/thread/inc/ThreadLocalStorage.h
+++ b/core/thread/inc/ThreadLocalStorage.h
@@ -77,11 +77,11 @@
 
 #elif defined(R__HAS___THREAD)
 
-#  define TTHREAD_TLS(type)  __thread type
+#  define TTHREAD_TLS(type)  static __thread type
 
 #elif defined(R__HAS_DECLSPEC_THREAD)
 
-#  define TTHREAD_TLS(type) __declspec(thread) type
+#  define TTHREAD_TLS(type) static __declspec(thread) type
 
 #elif defined(R__HAS_PTHREAD)
 
-- 
GitLab