diff options
Diffstat (limited to 'testsuite/vpi/vpi004')
-rw-r--r-- | testsuite/vpi/vpi004/vpi1.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/vpi/vpi004/vpi1.c b/testsuite/vpi/vpi004/vpi1.c index 96c6f3809..25d426fe7 100644 --- a/testsuite/vpi/vpi004/vpi1.c +++ b/testsuite/vpi/vpi004/vpi1.c @@ -6,6 +6,7 @@ void vpi_proc (void) { s_vpi_vlog_info info; + int i; printf ("Trying to get vlog_info\n"); int ret = vpi_get_vlog_info(&info); if (ret != 1) { @@ -19,7 +20,7 @@ vpi_proc (void) } printf ("Argc: %d\n", info.argc); - for (int i = 0; i < info.argc; i++) { + for (i = 0; i < info.argc; i++) { printf ("Argv[%d]: %s\n", i, info.argv[i]); } |