diff options
author | Roland McGrath <roland@gnu.org> | 2002-08-28 08:44:07 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-08-28 08:44:07 +0000 |
commit | f6056d40d84a5bfba515d69ed95a6c46be4c565d (patch) | |
tree | 7f6ad3b4ec98aa451eb669ec39916d5f9a490259 /localedata/tst-xlocale2.c | |
parent | c096ab2534deffc2668b90fc86798d7fdaa70f55 (diff) | |
download | glibc-f6056d40d84a5bfba515d69ed95a6c46be4c565d.tar.gz glibc-f6056d40d84a5bfba515d69ed95a6c46be4c565d.tar.xz glibc-f6056d40d84a5bfba515d69ed95a6c46be4c565d.zip |
2002-08-28 Roland McGrath <roland@redhat.com>
* tst-xlocale1.c (main): Remove __ from function names. * tst-xlocale2.c: Likewise.
Diffstat (limited to 'localedata/tst-xlocale2.c')
-rw-r--r-- | localedata/tst-xlocale2.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/localedata/tst-xlocale2.c b/localedata/tst-xlocale2.c index 224cccb12f..8d73d340ce 100644 --- a/localedata/tst-xlocale2.c +++ b/localedata/tst-xlocale2.c @@ -9,26 +9,26 @@ static int do_test (__locale_t l); int main (void) { - __locale_t l; - __locale_t l2; + locale_t l; + locale_t l2; int result; - l = __newlocale (1 << LC_ALL, "de_DE.ISO-8859-1", NULL); + l = newlocale (1 << LC_ALL, "de_DE.ISO-8859-1", NULL); if (l == NULL) { - printf ("__newlocale failed: %m\n"); + printf ("newlocale failed: %m\n"); exit (EXIT_FAILURE); } puts ("Running tests of created locale"); result = do_test (l); - l2 = __duplocale (l); + l2 = duplocale (l); if (l2 == NULL) { - printf ("__duplocale failed: %m\n"); + printf ("duplocale failed: %m\n"); exit (EXIT_FAILURE); } - __freelocale (l); + freelocale (l); puts ("Running tests of duplicated locale"); result |= do_test (l2); @@ -43,7 +43,7 @@ static const char exx[] = "11111111111111110111111000000000000000000000000000"; static int -do_test (__locale_t l) +do_test (locale_t l) { int result = 0; int n; @@ -56,9 +56,9 @@ do_test (__locale_t l) result = 1; \ } - DO_TEST (__isdigit_l, exd); - DO_TEST (__isalpha_l, exa); - DO_TEST (__isxdigit_l, exx); + DO_TEST (isdigit_l, exd); + DO_TEST (isalpha_l, exa); + DO_TEST (isxdigit_l, exx); return result; } |