diff test/suite2_x86win32fast/main.cc @ 606:85b7a117b807

- more statics in test code (this is partly needed on an experimental freebsd sparc64 build where the elf cleanup code crashes for some reason ... it's probably that experimental build, but a good change to do regardless)
author Tassilo Philipp
date Wed, 21 Sep 2022 15:20:58 +0200
parents 7608e34098b0
children
line wrap: on
line diff
--- a/test/suite2_x86win32fast/main.cc	Wed Sep 21 14:37:09 2022 +0200
+++ b/test/suite2_x86win32fast/main.cc	Wed Sep 21 15:20:58 2022 +0200
@@ -6,7 +6,7 @@
  Description: 
  License:
 
-   Copyright (c) 2007-2018 Daniel Adler <dadler@uni-goettingen.de>, 
+   Copyright (c) 2007-2022 Daniel Adler <dadler@uni-goettingen.de>, 
                            Tassilo Philipp <tphilipp@potion-studios.com>
 
    Permission to use, copy, modify, and distribute this software for any
@@ -40,15 +40,14 @@
 DCValue* getArg(int pos);
 
 
-
-DCbool     valueBool[MAXARGS];
-DCchar     valueChar[MAXARGS];
-DCshort    valueShort[MAXARGS];
-DCint      valueInt[MAXARGS];
-DClonglong valueLongLong[MAXARGS];
-DCdouble   valueDouble[MAXARGS];
-DCpointer  valuePointer[MAXARGS];
-DCfloat    valueFloat[MAXARGS];
+static DCbool     valueBool    [MAXARGS];
+static DCchar     valueChar    [MAXARGS];
+static DCshort    valueShort   [MAXARGS];
+static DCint      valueInt     [MAXARGS];
+static DClonglong valueLongLong[MAXARGS];
+static DCdouble   valueDouble  [MAXARGS];
+static DCpointer  valuePointer [MAXARGS];
+static DCfloat    valueFloat   [MAXARGS];
 
 
 void clearValues();