From 534f7801b470c22fcf61909dd42a9fba920efe34 Mon Sep 17 00:00:00 2001 From: "Alfred M. Szmidt" Date: Thu, 10 Jun 2021 11:00:58 +0200 Subject: testsuite/vpi: Don't use C99 declerations in loops. --- testsuite/vpi/vpi001/vpi1.c | 3 ++- testsuite/vpi/vpi002/vpi1.c | 3 ++- testsuite/vpi/vpi003/vpi1.c | 3 ++- testsuite/vpi/vpi004/vpi1.c | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) (limited to 'testsuite') diff --git a/testsuite/vpi/vpi001/vpi1.c b/testsuite/vpi/vpi001/vpi1.c index c4943fde6..c266b5cd7 100644 --- a/testsuite/vpi/vpi001/vpi1.c +++ b/testsuite/vpi/vpi001/vpi1.c @@ -31,8 +31,9 @@ vpi_proc (void) //"myentity.genstring", -- Not supported //"myentity.conststring" -- Not supported }; + int name_index; - for (int name_index=0; name_index