aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xmltv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xmltv.c b/src/xmltv.c
index 54acf6d..e944f59 100644
--- a/src/xmltv.c
+++ b/src/xmltv.c
@@ -118,9 +118,9 @@ const int num_timezones = sizeof( date_manip_timezones ) / sizeof( tz_map_t );
typedef struct {
const char *code;
const char *name;
-} locale_t;
+} xmltv_locale_t;
-static locale_t locale_table[] = {
+static xmltv_locale_t locale_table[] = {
{"AA", "Afar"}, {"AB", "Abkhazian"}, {"AF", "Afrikaans"},
{"AM", "Amharic"}, {"AR", "Arabic"}, {"AS", "Assamese"},
{"AY", "Aymara"}, {"AZ", "Azerbaijani"}, {"BA", "Bashkir"},
@@ -168,7 +168,7 @@ static locale_t locale_table[] = {
{"XH", "Xhosa"}, {"YO", "Yoruba"}, {"ZH", "Chinese"},
{"ZU", "Zulu"} };
-const int num_locales = sizeof( locale_table ) / sizeof( locale_t );
+const int num_locales = sizeof( locale_table ) / sizeof( xmltv_locale_t );
/**
* Timezone parsing code based loosely on the algorithm in

Privacy Policy