summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-12-12 17:43:26 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-12-12 17:43:26 +0000
commit25227e16b56c363aa356678aa45a7874efd2c11e (patch)
tree912c28d83e16e4779f6c5652ac02576055372cd1
parent3361d3286de6feaae21886d77ad22ea1c36d601d (diff)
tag: make internal language names table static
-rw-r--r--gst-libs/gst/tag/lang-tables.c2
-rw-r--r--gst-libs/gst/tag/mklangtables.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/tag/lang-tables.c b/gst-libs/gst/tag/lang-tables.c
index f6e9127db..5e40aafdc 100644
--- a/gst-libs/gst/tag/lang-tables.c
+++ b/gst-libs/gst/tag/lang-tables.c
@@ -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"
diff --git a/gst-libs/gst/tag/mklangtables.c b/gst-libs/gst/tag/mklangtables.c
index 5d4c69323..0f615ff4c 100644
--- a/gst-libs/gst/tag/mklangtables.c
+++ b/gst-libs/gst/tag/mklangtables.c
@@ -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;