Skip to content

Commit a811f7c

Browse files
committed
made mbstate within wctomb static
1 parent e8a3794 commit a811f7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/wchar/wctomb.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
namespace LIBC_NAMESPACE_DECL {
1919

2020
LLVM_LIBC_FUNCTION(int, wctomb, (char *s, wchar_t wc)) {
21-
internal::mbstate internal_mbstate;
21+
static internal::mbstate internal_mbstate;
2222
if (s == nullptr)
2323
return 0;
2424

0 commit comments

Comments
 (0)