summaryrefslogtreecommitdiff
path: root/tests/test-posix/scanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-posix/scanner.l')
-rw-r--r--tests/test-posix/scanner.l4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test-posix/scanner.l b/tests/test-posix/scanner.l
index 6199689..c6c0b51 100644
--- a/tests/test-posix/scanner.l
+++ b/tests/test-posix/scanner.l
@@ -34,6 +34,8 @@
#define NUM_TESTS 1
char * tests[NUM_TESTS] = { "ababab"};
+int main(void);
+
int tests_ok[NUM_TESTS] = { 0 };
%}
@@ -51,7 +53,7 @@ ab{3} tests_ok[0] = 1; return 0;
%%
-int main ( int argc, char** argv )
+int main ()
{
YY_BUFFER_STATE state;
int i;