From b5d946a333f8faff998160c4da499c3c25a2d3ac Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 24 Sep 2016 10:29:47 +0200 Subject: 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 --- extra/locale/gen_wc8bit.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'extra/locale/gen_wc8bit.c') 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"); -- cgit v1.2.3