[libc-commits] [libc] 518b1f0 - [libc] Fix leftover thread local
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Thu Aug 22 11:10:19 PDT 2024
Author: Joseph Huber
Date: 2024-08-22T13:09:56-05:00
New Revision: 518b1f02835c4face8aaaf646a0f3878c2382b0b
URL: https://github.com/llvm/llvm-project/commit/518b1f02835c4face8aaaf646a0f3878c2382b0b
DIFF: https://github.com/llvm/llvm-project/commit/518b1f02835c4face8aaaf646a0f3878c2382b0b.diff
LOG: [libc] Fix leftover thread local
Added:
Modified:
libc/src/locale/locale.h
Removed:
################################################################################
diff --git a/libc/src/locale/locale.h b/libc/src/locale/locale.h
index 6d6db2bcacad3f..14befa6e7a9c24 100644
--- a/libc/src/locale/locale.h
+++ b/libc/src/locale/locale.h
@@ -29,7 +29,7 @@ struct __locale_data {
extern __locale_t c_locale;
// The global locale instance.
-LIBC_THREAD_LOCAL extern locale_t locale;
+extern locale_t locale;
} // namespace LIBC_NAMESPACE_DECL
More information about the libc-commits
mailing list