aboutsummaryrefslogtreecommitdiff
path: root/string
diff options
context:
space:
mode:
Diffstat (limited to 'string')
-rw-r--r--string/tst-strxfrm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/string/tst-strxfrm.c b/string/tst-strxfrm.c
index aef5e4e4ee..2ae2e2952f 100644
--- a/string/tst-strxfrm.c
+++ b/string/tst-strxfrm.c
@@ -15,7 +15,7 @@ test (const char *locale)
size_t r;
size_t l;
char *buf;
- __locale_t loc;
+ locale_t loc;
int result = 0;
if (setlocale (LC_COLLATE, locale) == NULL)
@@ -39,9 +39,9 @@ test (const char *locale)
result = 1;
}
- loc = __newlocale (1 << LC_ALL, locale, NULL);
+ loc = newlocale (1 << LC_ALL, locale, NULL);
- r = __strxfrm_l (buf, string, bufsize, loc);
+ r = strxfrm_l (buf, string, bufsize, loc);
l = strlen (buf);
if (r != l)
{
@@ -50,7 +50,7 @@ test (const char *locale)
result = 1;
}
- __freelocale (loc);
+ freelocale (loc);
free (buf);