/* Helper functions used by strftime/strptime to handle alternate digits.
- Copyright (C) 1995-2014 Free Software Foundation, Inc.
+ Copyright (C) 1995-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
<http://www.gnu.org/licenses/>. */
#include "../locale/localeinfo.h"
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <stdlib.h>
#include <wchar.h>
#include <string.h>
}
const char *
-internal_function
_nl_get_alt_digit (unsigned int number, struct __locale_data *current)
{
const char *result;
const wchar_t *
-internal_function
_nl_get_walt_digit (unsigned int number, struct __locale_data *current)
{
const wchar_t *result = NULL;
data->walt_digits[cnt] = ptr;
/* Skip digit format. */
- ptr = wcschr (ptr, L'\0') + 1;
+ ptr = __wcschr (ptr, L'\0') + 1;
}
}
}
int
-internal_function
_nl_parse_alt_digit (const char **strp, struct __locale_data *current)
{
const char *str = *strp;