char *__nl_langinfo(nl_item item)
{
- return __nl_langinfo_l(item, LC_GLOBAL_LOCALE);
+ return __nl_langinfo_l(item, 0);
}
weak_alias(__nl_langinfo, nl_langinfo);
int strcoll(const char *l, const char *r)
{
- return __strcoll_l(l, r, LC_GLOBAL_LOCALE);
+ return __strcoll_l(l, r, 0);
}
weak_alias(__strcoll_l, strcoll_l);
size_t strxfrm(char *restrict dest, const char *restrict src, size_t n)
{
- return __strxfrm_l(dest, src, n, LC_GLOBAL_LOCALE);
+ return __strxfrm_l(dest, src, n, 0);
}
weak_alias(__strxfrm_l, strxfrm_l);
int wcscoll(const wchar_t *l, const wchar_t *r)
{
- return __wcscoll_l(l, r, LC_GLOBAL_LOCALE);
+ return __wcscoll_l(l, r, 0);
}
weak_alias(__wcscoll_l, wcscoll_l);
size_t wcsxfrm(wchar_t *restrict dest, const wchar_t *restrict src, size_t n)
{
- return __wcsxfrm_l(dest, src, n, LC_GLOBAL_LOCALE);
+ return __wcsxfrm_l(dest, src, n, 0);
}
weak_alias(__wcsxfrm_l, wcsxfrm_l);
size_t strftime(char *restrict s, size_t n, const char *restrict f, const struct tm *restrict tm)
{
- return __strftime_l(s, n, f, tm, LC_GLOBAL_LOCALE);
+ return __strftime_l(s, n, f, tm, 0);
}
weak_alias(__strftime_l, strftime_l);
size_t wcsftime(wchar_t *restrict wcs, size_t n, const wchar_t *restrict f, const struct tm *restrict tm)
{
- return __wcsftime_l(wcs, n, f, tm, LC_GLOBAL_LOCALE);
+ return __wcsftime_l(wcs, n, f, tm, 0);
}