diff options
author | Sergey Matveev <earthdok@google.com> | 2013-10-11 12:15:45 +0000 |
---|---|---|
committer | Sergey Matveev <earthdok@google.com> | 2013-10-11 12:15:45 +0000 |
commit | 6c5e943953b302ca1af592565f14b969bf1f14a3 (patch) | |
tree | e0f37ba1825d80cfdcf66c513294b1332abb1e9f | |
parent | dc75cf33682d29e492d1f46e3387d4edd2d97011 (diff) | |
download | bcm5719-llvm-6c5e943953b302ca1af592565f14b969bf1f14a3.tar.gz bcm5719-llvm-6c5e943953b302ca1af592565f14b969bf1f14a3.zip |
[sanitizer] Ninja style fix to r192442.
llvm-svn: 192443
-rw-r--r-- | compiler-rt/lib/sanitizer_common/tests/sanitizer_linux_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/lib/sanitizer_common/tests/sanitizer_linux_test.cc b/compiler-rt/lib/sanitizer_common/tests/sanitizer_linux_test.cc index 95ce09b9fd6..d712eb6ce01 100644 --- a/compiler-rt/lib/sanitizer_common/tests/sanitizer_linux_test.cc +++ b/compiler-rt/lib/sanitizer_common/tests/sanitizer_linux_test.cc @@ -255,8 +255,8 @@ TEST(SanitizerCommon, LibraryNameIs) { } } -pthread_key_t key; -bool destructor_executed; +static pthread_key_t key; +static bool destructor_executed; extern "C" void destructor(void *arg) { @@ -273,7 +273,7 @@ void *thread_func(void *arg) { return reinterpret_cast<void*>(pthread_setspecific(key, arg)); } -void SpawnThread(uptr iteration) { +static void SpawnThread(uptr iteration) { destructor_executed = false; pthread_t tid; ASSERT_EQ(0, pthread_create(&tid, 0, &thread_func, |