]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/unicode/iconv.c
remove most sparse warning 'symbol 'xxx' was not declared. Should it be static?'
[netatalk.git] / libatalk / unicode / iconv.c
index de38e13a898683e6bc81f798636cf199cc242a3e..17125004d7fde59c4e3d39ff8af39bdd75d8a6e9 100644 (file)
@@ -92,6 +92,7 @@ extern  struct charset_functions charset_mac_roman;
 extern  struct charset_functions charset_mac_hebrew;
 extern  struct charset_functions charset_mac_centraleurope;
 extern  struct charset_functions charset_mac_cyrillic;
+extern  struct charset_functions charset_mac_greek;
 extern  struct charset_functions charset_mac_turkish;
 extern  struct charset_functions charset_utf8;
 extern  struct charset_functions charset_utf8_mac;
@@ -106,7 +107,6 @@ extern  struct charset_functions charset_mac_chinese_simp;
 static struct charset_functions builtin_functions[] = {
        {"UCS-2",   0, iconv_copy, iconv_copy, CHARSET_WIDECHAR | CHARSET_PRECOMPOSED, NULL, NULL, NULL},
        {"ASCII",     0, ascii_pull, ascii_push, CHARSET_MULTIBYTE | CHARSET_PRECOMPOSED, NULL, NULL, NULL},
-       {"SHIFT_JIS", 1568, NULL, NULL, CHARSET_ICONV | CHARSET_PRECOMPOSED | CHARSET_CLIENT, NULL, NULL, NULL},
        {NULL, 0, NULL, NULL, 0, NULL, NULL, NULL}
 };
 
@@ -157,7 +157,7 @@ int atalk_register_charset(struct charset_functions *funcs)
        return 0;
 }
 
-void lazy_initialize_iconv(void)
+static void lazy_initialize_iconv(void)
 {
        static int initialized = 0;
        int i;
@@ -172,6 +172,7 @@ void lazy_initialize_iconv(void)
                atalk_register_charset(&charset_utf8_mac);
                atalk_register_charset(&charset_mac_roman);
                atalk_register_charset(&charset_mac_hebrew);
+               atalk_register_charset(&charset_mac_greek);
                atalk_register_charset(&charset_mac_turkish);
                atalk_register_charset(&charset_mac_centraleurope);
                atalk_register_charset(&charset_mac_cyrillic);