tag: make internal language names table static

This commit is contained in:
Tim-Philipp Müller 2009-12-12 17:43:26 +00:00
parent 3361d3286d
commit 25227e16b5
2 changed files with 2 additions and 2 deletions

View file

@ -406,7 +406,7 @@ static const struct
{ "zu", "zul", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 2026 },
};
const gchar iso_639_names[] =
static const gchar iso_639_names[] =
"Afar\000Abkhazian\000Avestan\000Afrikaans\000Akan\000Amharic\000Aragonese"
"\000Arabic\000Assamese\000Avaric\000Aymara\000Azerbaijani\000Bashkir\000B"
"elarusian\000Bulgarian\000Bihari languages\000Bislama\000Bambara\000Benga"

View file

@ -115,7 +115,7 @@ dump_languages (void)
g_print ("};\n");
g_print ("\n");
g_print ("const gchar iso_639_names[] =\n");
g_print ("static const gchar iso_639_names[] =\n");
s = names->str;
while (s != NULL && *s != '\0') {
gchar line[74], *lastesc;