diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2016-07-23 14:19:25 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-08-15 10:56:57 +0200 |
commit | cf2cd696daa3996104b40a54fe039174a275c749 (patch) | |
tree | be667cbab96020905a61e6b74dc5c5531b9dc0a0 /newlib/libc/locale/timelocal.c | |
parent | c402f0388f78f4945d4e8fdbb0505271333c8258 (diff) | |
download | newlib-cf2cd696daa3996104b40a54fe039174a275c749.zip newlib-cf2cd696daa3996104b40a54fe039174a275c749.tar.gz newlib-cf2cd696daa3996104b40a54fe039174a275c749.tar.bz2 |
Remove non-working __part_load_locale function and any related code
Add TODO markers in case somebody wants to pick this up again
Signed-off by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/locale/timelocal.c')
-rw-r--r-- | newlib/libc/locale/timelocal.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/newlib/libc/locale/timelocal.c b/newlib/libc/locale/timelocal.c index 1c869e1..4b36154 100644 --- a/newlib/libc/locale/timelocal.c +++ b/newlib/libc/locale/timelocal.c @@ -28,8 +28,6 @@ #include <sys/cdefs.h> #include <stddef.h> - -#include "ldpart.h" #include "setlocale.h" #define LCTIME_SIZE (sizeof(struct lc_time_T) / sizeof(char *)) @@ -145,12 +143,6 @@ const struct lc_time_T _C_time_locale = { #endif }; -#ifndef __CYGWIN__ -static struct lc_time_T _time_locale; -static int _time_using_locale; -static char *time_locale_buf; -#endif - int __time_load_locale (struct __locale_t *locale, const char *name, void *f_wctomb, const char *charset) @@ -192,10 +184,7 @@ __time_load_locale (struct __locale_t *locale, const char *name, ret = 0; } #else - ret = __part_load_locale(name, &_time_using_locale, - time_locale_buf, "LC_TIME", - LCTIME_SIZE, LCTIME_SIZE, - (const char **)&_time_locale); + /* TODO */ #endif return (ret); } |