diff options
Diffstat (limited to 'time')
-rw-r--r-- | time/alt_digit.c | 2 | ||||
-rw-r--r-- | time/era.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/time/alt_digit.c b/time/alt_digit.c index bd13abdd9c..36859a98c3 100644 --- a/time/alt_digit.c +++ b/time/alt_digit.c @@ -132,7 +132,7 @@ _nl_get_walt_digit (unsigned int number, struct __locale_data *current) data->walt_digits[cnt] = ptr; /* Skip digit format. */ - ptr = wcschr (ptr, L'\0') + 1; + ptr = __wcschr (ptr, L'\0') + 1; } } } diff --git a/time/era.c b/time/era.c index fd311c625f..5ac75e0c42 100644 --- a/time/era.c +++ b/time/era.c @@ -122,11 +122,11 @@ _nl_init_era_entries (struct __locale_data *current) /* Set and skip wide era name. */ new_eras[cnt].era_wname = (wchar_t *) ptr; - ptr = (char *) (wcschr ((wchar_t *) ptr, L'\0') + 1); + ptr = (char *) (__wcschr ((wchar_t *) ptr, L'\0') + 1); /* Set and skip wide era format. */ new_eras[cnt].era_wformat = (wchar_t *) ptr; - ptr = (char *) (wcschr ((wchar_t *) ptr, L'\0') + 1); + ptr = (char *) (__wcschr ((wchar_t *) ptr, L'\0') + 1); } } } |