3 --- src
/xmltv
.c
.orig
2013-05-10 14:43:03.000000000 +0000
5 @@
-118,9 +118,9 @@
const int num_timezones
= sizeof( date_m
12 -static locale_t locale_table
[] = {
13 +static my_locale_t locale_table
[] = {
14 {"AA", "Afar"}, {"AB", "Abkhazian"}, {"AF", "Afrikaans"},
15 {"AM", "Amharic"}, {"AR", "Arabic"}, {"AS", "Assamese"},
16 {"AY", "Aymara"}, {"AZ", "Azerbaijani"}, {"BA", "Bashkir"},
17 @@
-168,7 +168,7 @@
static locale_t locale_table
[] = {
18 {"XH", "Xhosa"}, {"YO", "Yoruba"}, {"ZH", "Chinese"},
21 -const int num_locales
= sizeof( locale_table
) / sizeof( locale_t
);
22 +const int num_locales
= sizeof( locale_table
) / sizeof( *locale_table
);
25 * Timezone parsing code based loosely on the algorithm in