[sanitizer] Ninja style fix to r192442.

llvm-svn: 192443
This commit is contained in:
Sergey Matveev 2013-10-11 12:15:45 +00:00
parent dc75cf3368
commit 6c5e943953
1 changed files with 3 additions and 3 deletions

View File

@ -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,