From 71327cd21e3dcc793dd6e0cf99f5295e58e0322c Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Wed, 15 Apr 2009 16:45:36 +0000 Subject: More c89isms svn path=/trunk/libcss/; revision=7100 --- test/lex.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/lex.c') diff --git a/test/lex.c b/test/lex.c index 13a4dd0..6aadf28 100644 --- a/test/lex.c +++ b/test/lex.c @@ -128,6 +128,7 @@ int main(int argc, char **argv) uint8_t buf[CHUNK_SIZE]; css_token *tok; css_error error; + int i; if (argc != 3) { printf("Usage: %s \n", argv[0]); @@ -137,7 +138,7 @@ int main(int argc, char **argv) /* Initialise library */ assert(css_initialise(argv[1], myrealloc, NULL) == CSS_OK); - for (int i = 0; i < ITERATIONS; i++) { + for (i = 0; i < ITERATIONS; i++) { assert(parserutils_inputstream_create("UTF-8", CSS_CHARSET_DICTATED,css_charset_extract, (parserutils_alloc) myrealloc, NULL, &stream) == -- cgit v1.2.3