diff test/suite3/case.cc @ 604:90dfdac91b9b

- cleanups, made some arrays local to TUs, etc.
author Tassilo Philipp
date Wed, 21 Sep 2022 14:36:44 +0200
parents f5577f6bf97a
children 85b7a117b807
line wrap: on
line diff
--- a/test/suite3/case.cc	Wed Sep 21 13:26:31 2022 +0200
+++ b/test/suite3/case.cc	Wed Sep 21 14:36:44 2022 +0200
@@ -29,7 +29,7 @@
 #include "config.h"
 #include "../../dyncall/dyncall_value.h"
 
-DCValue mValue[NARGS];
+static DCValue mValue[NARGS];
 
 void clearValues() { for(int i = 0;i<NARGS;++i) mValue[i].L = 0xCAFEBABEDEADC0DEULL; }
 
@@ -88,10 +88,11 @@
 #define VF10(id,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,S) reinterpret_cast<void(*)()>(S),
 
 typedef void (*fp)();
-fp gFuncTable[] = {
+static fp gFuncTable[] = {
 #include "case.h"
 };
 
 DCpointer getFunc(int x) {
   return (DCpointer) gFuncTable[x];
 }
+