aboutsummaryrefslogtreecommitdiff
path: root/localedata/tst-xlocale1.c
diff options
context:
space:
mode:
Diffstat (limited to 'localedata/tst-xlocale1.c')
-rw-r--r--localedata/tst-xlocale1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/localedata/tst-xlocale1.c b/localedata/tst-xlocale1.c
index bfe978f485..6dcbccefdf 100644
--- a/localedata/tst-xlocale1.c
+++ b/localedata/tst-xlocale1.c
@@ -25,7 +25,7 @@ main (void)
{
int cnt;
int result = 0;
- __locale_t loc = __newlocale (1 << LC_ALL, "C", NULL);
+ locale_t loc = newlocale (1 << LC_ALL, "C", NULL);
for (cnt = 0; cnt < ntests; ++cnt)
{
@@ -38,10 +38,10 @@ main (void)
continue;
}
- printf ("\n__strcasecmp_l (\"%s\", \"%s\", loc)\n",
+ printf ("\nstrcasecmp_l (\"%s\", \"%s\", loc)\n",
tests[cnt].str1, tests[cnt].str2);
- r = __strcasecmp_l (tests[cnt].str1, tests[cnt].str2, loc);
+ r = strcasecmp_l (tests[cnt].str1, tests[cnt].str2, loc);
if (tests[cnt].result == 0)
{
if (r != 0)