Skip to content

Commit 5bcab10

Browse files
author
Sriya Pratipati
committed
build files fixes
1 parent e9d7cdc commit 5bcab10

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

libc/config/linux/x86_64/entrypoints.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,6 @@ set(TARGET_LIBC_ENTRYPOINTS
365365

366366
# wchar.h entrypoints
367367
libc.src.wchar.btowc
368-
libc.src.wchar.mbrtowc
369368
libc.src.wchar.wcslen
370369
libc.src.wchar.wctob
371370
libc.src.wchar.wmemmove
@@ -990,6 +989,9 @@ if(LLVM_LIBC_FULL_BUILD)
990989
libc.src.strings.strcasecmp_l
991990
libc.src.strings.strncasecmp_l
992991

992+
# wchar.h entrypoints
993+
libc.src.wchar.mbrtowc
994+
993995
# assert.h entrypoints
994996
libc.src.assert.__assert_fail
995997

libc/hdr/types/mbstate_t.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
#else // Overlay mode
1717

18-
#include "hdr/wchar_overlay.h"
18+
#error "Cannot overlay mbstate_t
1919

2020
#endif // LLVM_LIBC_FULL_BUILD
2121

libc/include/wchar.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ functions:
3434
- stdc
3535
return_type: size_t
3636
arguments:
37-
- type: wchar_t * __restrict
38-
- type: const char * __restrict
37+
- type: wchar_t *__restrict
38+
- type: const char *__restrict
3939
- type: size_t
40-
- type: mbstate_t * __restrict
40+
- type: mbstate_t *__restrict
4141
- name: wmemset
4242
standards:
4343
- stdc

0 commit comments

Comments
 (0)