-static void
-reset_locale (void)
-{
-#ifdef HAVE_SETLOCALE
- const char *current_locale = setlocale(LC_ALL, "");
- const char *cmp_locale;
- int j = 0;
-
- while ((cmp_locale = change_locale[j]))
- {
- if (!strncmp(current_locale, cmp_locale, strlen(cmp_locale)))
- {
- setlocale(LC_ALL, "C");
- break;
- }
- j++;
- }
-#endif /* HAVE_SETLOCALE */
-}
-
-