diff --git a/libcxx/include/__support/xlocale/__nop_locale_mgmt.h b/libcxx/include/__support/xlocale/__nop_locale_mgmt.h index 57b18842ff4540..3d26183fafedf4 100644 --- a/libcxx/include/__support/xlocale/__nop_locale_mgmt.h +++ b/libcxx/include/__support/xlocale/__nop_locale_mgmt.h @@ -16,18 +16,23 @@ extern "C" { // Patch over lack of extended locale support typedef void *locale_t; -static inline locale_t duplocale(locale_t) { + +inline _LIBCPP_HIDE_FROM_ABI locale_t +duplocale(locale_t) { return NULL; } -static inline void freelocale(locale_t) { +inline _LIBCPP_HIDE_FROM_ABI void +freelocale(locale_t) { } -static inline locale_t newlocale(int, const char *, locale_t) { +inline _LIBCPP_HIDE_FROM_ABI locale_t +newlocale(int, const char *, locale_t) { return NULL; } -static inline locale_t uselocale(locale_t) { +inline _LIBCPP_HIDE_FROM_ABI locale_t +uselocale(locale_t) { return NULL; }