Skip to content

Commit

Permalink
Merge pull request #974 from Dennisbonke/langinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennisbonke authored Jan 29, 2024
2 parents f75ca5f + 059b2d2 commit b719dde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion options/posix/generic/langinfo-stubs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ char *nl_langinfo(nl_item item) {
return mlibc::nl_langinfo(item);
}

char *nl_langinfo_1(nl_item, locale_t) {
char *nl_langinfo_l(nl_item, locale_t) {
__ensure(!"Not implemented");
__builtin_unreachable();
}
Expand Down
2 changes: 1 addition & 1 deletion options/posix/include/langinfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ extern "C" {
#ifndef __MLIBC_ABI_ONLY

char *nl_langinfo(nl_item);
char *nl_langinfo_1(nl_item, locale_t);
char *nl_langinfo_l(nl_item, locale_t);

#endif /* !__MLIBC_ABI_ONLY */

Expand Down

0 comments on commit b719dde

Please sign in to comment.