diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-09-24 10:29:47 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-09-26 20:23:29 +0200 |
commit | b5d946a333f8faff998160c4da499c3c25a2d3ac (patch) | |
tree | e49110206c0665ba82ff49f213b80f47be220c64 /extra/locale/gen_wc8bit.c | |
parent | 29ff9055c80efe77a7130767a9fcb3ab8c67e8ce (diff) |
locale: cleanup support
Enable locale application to be build when utils are
build. Remove useless compile and link warnings.
Default to minimal locale builds.
Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
Diffstat (limited to 'extra/locale/gen_wc8bit.c')
-rw-r--r-- | extra/locale/gen_wc8bit.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/extra/locale/gen_wc8bit.c b/extra/locale/gen_wc8bit.c index e16b283a2..8031df1cf 100644 --- a/extra/locale/gen_wc8bit.c +++ b/extra/locale/gen_wc8bit.c @@ -127,25 +127,6 @@ int main(int argc, char **argv) pclose(fp); } -#if 0 - if (argc == 1) { - /* User requested 8-bit codesets, but didn't list any... */ - /* Allow to build, just so this feature can be left on in config. */ - printf("#ifdef __CTYPE_HAS_8_BIT_LOCALES\n"); - printf("#warning ignoring 8 bit codesets request" - " as no codesets specified.\n"); - printf("#endif\n"); - printf("#undef __CTYPE_HAS_8_BIT_LOCALES\n\n"); - - printf("#define __LOCALE_DATA_NUM_CODESETS\t\t0\n"); - printf("#define __LOCALE_DATA_CODESET_LIST\t\t\"\"\n"); - return EXIT_SUCCESS; - } - -/* printf("#define __CTYPE_HAS_8_BIT_LOCALES\t1\n\n"); */ - printf("#ifdef __CTYPE_HAS_8_BIT_LOCALES\n\n"); -#endif - if (argc == 1) { printf("#undef __CTYPE_HAS_8_BIT_LOCALES\n\n"); |