summaryrefslogtreecommitdiffstats
path: root/newlib/libc/locale/lnumeric.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/locale/lnumeric.c')
-rw-r--r--newlib/libc/locale/lnumeric.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/newlib/libc/locale/lnumeric.c b/newlib/libc/locale/lnumeric.c
index c63fd8e0f..b4ddbdace 100644
--- a/newlib/libc/locale/lnumeric.c
+++ b/newlib/libc/locale/lnumeric.c
@@ -25,9 +25,6 @@
*/
#include "setlocale.h"
-#include "ldpart.h"
-
-extern const char *__fix_locale_grouping_str(const char *);
#define LCNUMERIC_SIZE (sizeof(struct lc_numeric_T) / sizeof(char *))
@@ -44,12 +41,6 @@ const struct lc_numeric_T _C_numeric_locale = {
#endif
};
-#ifndef __CYGWIN__
-static struct lc_numeric_T _numeric_locale;
-static int _numeric_using_locale;
-static char *_numeric_locale_buf;
-#endif
-
int
__numeric_load_locale (struct __locale_t *locale, const char *name ,
void *f_wctomb, const char *charset)
@@ -92,13 +83,7 @@ __numeric_load_locale (struct __locale_t *locale, const char *name ,
ret = 0;
}
#else
- ret = __part_load_locale(name, &_numeric_using_locale,
- _numeric_locale_buf, "LC_NUMERIC",
- LCNUMERIC_SIZE, LCNUMERIC_SIZE,
- (const char **)&_numeric_locale);
- if (ret == 0 && _numeric_using_locale)
- _numeric_locale.grouping =
- __fix_locale_grouping_str(_numeric_locale.grouping);
+ /* TODO */
#endif
return ret;
}