aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2011-09-18 20:45:07 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-10-07 00:31:16 (GMT)
commit857de416fd59f54c538f9ebf4979f2b859e1b39c (patch)
treeac5d22fcf603f607781e82bfbee60143d9400184 /src
parent29c494b9185301c799aeebcc0bde4f8a61b8caf4 (diff)
Rename locale_t to xmltv_locale (the *_t namespace is reserved)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
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 f5bf16e..3603da4 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;
-} xmltv_locale_t;
+} xmltv_locale;
-static xmltv_locale_t locale_table[] = {
+static xmltv_locale 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 xmltv_locale_t locale_table[] = {
{"XH", "Xhosa"}, {"YO", "Yoruba"}, {"ZH", "Chinese"},
{"ZU", "Zulu"} };
-const int num_locales = sizeof( locale_table ) / sizeof( xmltv_locale_t );
+const int num_locales = sizeof( locale_table ) / sizeof( xmltv_locale );
/**
* Timezone parsing code based loosely on the algorithm in

Privacy Policy