Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / multimedia / tvtime / patches / patch-src_xmltv.c
blob3a0098ccbdfc17dadc7d8aed78c70be6f80ac417
1 $NetBSD$
3 --- src/xmltv.c.orig 2013-05-10 14:43:03.000000000 +0000
4 +++ src/xmltv.c
5 @@ -118,9 +118,9 @@ const int num_timezones = sizeof( date_m
6 typedef struct {
7 const char *code;
8 const char *name;
9 -} locale_t;
10 +} my_locale_t;
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"},
19 {"ZU", "Zulu"} };
21 -const int num_locales = sizeof( locale_table ) / sizeof( locale_t );
22 +const int num_locales = sizeof( locale_table ) / sizeof( *locale_table );
24 /**
25 * Timezone parsing code based loosely on the algorithm in