mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
2002-08-29 Roland McGrath <roland@redhat.com>
* string/tst-strxfrm.c: Remove __ from function names.
This commit is contained in:
@ -15,7 +15,7 @@ test (const char *locale)
|
|||||||
size_t r;
|
size_t r;
|
||||||
size_t l;
|
size_t l;
|
||||||
char *buf;
|
char *buf;
|
||||||
__locale_t loc;
|
locale_t loc;
|
||||||
int result = 0;
|
int result = 0;
|
||||||
|
|
||||||
if (setlocale (LC_COLLATE, locale) == NULL)
|
if (setlocale (LC_COLLATE, locale) == NULL)
|
||||||
@ -39,9 +39,9 @@ test (const char *locale)
|
|||||||
result = 1;
|
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);
|
l = strlen (buf);
|
||||||
if (r != l)
|
if (r != l)
|
||||||
{
|
{
|
||||||
@ -50,7 +50,7 @@ test (const char *locale)
|
|||||||
result = 1;
|
result = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
__freelocale (loc);
|
freelocale (loc);
|
||||||
|
|
||||||
free (buf);
|
free (buf);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user