diff options
| author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-28 15:18:40 -0400 |
|---|---|---|
| committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-28 15:26:23 -0400 |
| commit | b94fa0212added03de7c4540f16c474b00ddaa01 (patch) | |
| tree | cd74ef8f2111d9f13c5b3062d6cf286760238c77 /iconv-detect.c | |
| parent | bc9eadf2dc10287359471e086b9808e81734c0a6 (diff) | |
| download | evolution-data-server-b94fa0212added03de7c4540f16c474b00ddaa01.tar.gz | |
Exclude libdb and iconv-detect.c from previous cleanups.
Diffstat (limited to 'iconv-detect.c')
| -rw-r--r-- | iconv-detect.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/iconv-detect.c b/iconv-detect.c index 88409629d..7ca1339d8 100644 --- a/iconv-detect.c +++ b/iconv-detect.c @@ -52,9 +52,9 @@ enum { typedef struct { - gchar *charset; - gchar *format; - gint id; + char *charset; + char *format; + int id; } CharInfo; @@ -67,7 +67,7 @@ static CharInfo iso8859_tests[] = { { "8859-1", "%d-%d", NO_ISO_D_DASH_D }, }; -static gint num_iso8859_tests = sizeof (iso8859_tests) / sizeof (CharInfo); +static int num_iso8859_tests = sizeof (iso8859_tests) / sizeof (CharInfo); static CharInfo iso2022_tests[] = { { "iso-2022-jp", "iso-%d-%s", ISO_DASH_D_DASH_S_LOWER }, @@ -75,7 +75,7 @@ static CharInfo iso2022_tests[] = { { "ISO2022-JP", "ISO%d-%s", ISO_D_DASH_S }, }; -static gint num_iso2022_tests = sizeof (iso2022_tests) / sizeof (CharInfo); +static int num_iso2022_tests = sizeof (iso2022_tests) / sizeof (CharInfo); static CharInfo iso10646_tests[] = { { "iso-10646-1", "iso-%d-%d", ISO_DASH_D_DASH_D_LOWER }, @@ -87,16 +87,16 @@ static CharInfo iso10646_tests[] = { { "UCS-4BE", "UCS-4BE", UCS4 }, }; -static gint num_iso10646_tests = sizeof (iso10646_tests) / sizeof (CharInfo); +static int num_iso10646_tests = sizeof (iso10646_tests) / sizeof (CharInfo); -gint main (gint argc, gchar **argv) +int main (int argc, char **argv) { - guint iso8859, iso2022, iso10646; + unsigned int iso8859, iso2022, iso10646; CharInfo *info; iconv_t cd; FILE *fp; - gint i; + int i; fp = fopen ("iconv-detect.h", "w"); if (fp == NULL) |
