X-Git-Url: http://git.draconx.ca/gitweb/cdecl99.git/blobdiff_plain/8185af6a8e8e587f267d901328f7c5d956c06de3..00514ec7f1070550a52651971bb6a5e36efbe4f0:/t/crossparse.c?ds=sidebyside diff --git a/t/crossparse.c b/t/crossparse.c index 630e02e..4122b1c 100644 --- a/t/crossparse.c +++ b/t/crossparse.c @@ -137,6 +137,7 @@ int main(int argc, char **argv) { int opt, mode = MODE_CDECL; int ret = EXIT_SUCCESS; + int i; const char *filename = NULL; FILE *infile = NULL; @@ -192,7 +193,7 @@ int main(int argc, char **argv) free(line); fclose(infile); } else if (argv[optind]) { - for (int i = optind; i < argc; i++) { + for (i = optind; i < argc; i++) { if (!test_crossparse(argv[i], mode)) ret = EXIT_FAILURE; }