Skip to content

Commit 2b155f9

Browse files
author
Sriya Pratipati
committed
Reland "[libc] wchar string conversion functions mb to wc"
Added missing includes in the test files for null check
1 parent 6bc272a commit 2b155f9

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

libc/test/src/wchar/mbsnrtowcs_test.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include "hdr/types/mbstate_t.h"
1010
#include "hdr/types/wchar_t.h"
1111
#include "src/__support/libc_errno.h"
12+
#include "src/__support/macros/null_check.h"
1213
#include "src/__support/wchar/mbstate.h"
1314
#include "src/string/memset.h"
1415
#include "src/wchar/mbsnrtowcs.h"

libc/test/src/wchar/mbsrtowcs_test.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include "hdr/types/mbstate_t.h"
1010
#include "hdr/types/wchar_t.h"
1111
#include "src/__support/libc_errno.h"
12+
#include "src/__support/macros/null_check.h"
1213
#include "src/__support/wchar/mbstate.h"
1314
#include "src/string/memset.h"
1415
#include "src/wchar/mbsrtowcs.h"

libc/test/src/wchar/mbstowcs_test.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
#include "hdr/types/wchar_t.h"
1010
#include "src/__support/libc_errno.h"
11+
#include "src/__support/macros/null_check.h"
1112
#include "src/wchar/mbstowcs.h"
1213
#include "test/UnitTest/ErrnoCheckingTest.h"
1314
#include "test/UnitTest/Test.h"

0 commit comments

Comments
 (0)