diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-04-15 16:45:36 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-04-15 16:45:36 +0000 |
commit | 71327cd21e3dcc793dd6e0cf99f5295e58e0322c (patch) | |
tree | a3a3ccb34fac959d37f6e2480186344b7602a6a8 /test/parse.c | |
parent | f3871ddf33d016499a7dac7613e9acbc0ca47eb2 (diff) | |
download | libcss-71327cd21e3dcc793dd6e0cf99f5295e58e0322c.tar.gz libcss-71327cd21e3dcc793dd6e0cf99f5295e58e0322c.tar.bz2 |
More c89isms
svn path=/trunk/libcss/; revision=7100
Diffstat (limited to 'test/parse.c')
-rw-r--r-- | test/parse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/parse.c b/test/parse.c index ed0deb7..543cfe3 100644 --- a/test/parse.c +++ b/test/parse.c @@ -83,6 +83,7 @@ int main(int argc, char **argv) uint8_t buf[CHUNK_SIZE]; css_error error; lwc_context *ctx; + int i; if (argc != 3) { printf("Usage: %s <aliases_file> <filename>\n", argv[0]); @@ -94,7 +95,7 @@ int main(int argc, char **argv) assert(lwc_create_context(myrealloc, NULL, &ctx) == lwc_error_ok); lwc_context_ref(ctx); - for (int i = 0; i < ITERATIONS; i++) { + for (i = 0; i < ITERATIONS; i++) { assert(css_parser_create("UTF-8", CSS_CHARSET_DICTATED, ctx, myrealloc, NULL, &parser) == CSS_OK); |