diff options
-rw-r--r-- | test/h5test.c | 8 | ||||
-rw-r--r-- | test/testhdf5.c | 3 | ||||
-rw-r--r-- | test/ttsafe.c | 2 |
3 files changed, 8 insertions, 5 deletions
diff --git a/test/h5test.c b/test/h5test.c index 87a8a0b..0d8f0c2 100644 --- a/test/h5test.c +++ b/test/h5test.c @@ -89,6 +89,14 @@ MPI_Info h5_io_info_g=MPI_INFO_NULL;/* MPI INFO object for IO */ */ static const char *multi_letters = "msbrglo"; +/* + * Global variables used by InitTest(). + * The code should be revised so that these do not need to be + * global. + */ +struct TestStruct Test[MAXNUMOFTESTS]; +int Index = 0; + #ifdef H5_WANT_H5_V1_6_COMPAT static herr_t h5_errors(void *client_data); #else /* H5_WANT_H5_V1_6_COMPAT */ diff --git a/test/testhdf5.c b/test/testhdf5.c index 58eacbe..c6b74ee 100644 --- a/test/testhdf5.c +++ b/test/testhdf5.c @@ -51,9 +51,6 @@ int Verbosity; /* ANY new test needs to have a prototype in tproto.h */ #include "testhdf5.h" -struct TestStruct Test[MAXNUMOFTESTS]; -int Index = 0; - static void usage(void); static void diff --git a/test/ttsafe.c b/test/ttsafe.c index 276b757..d7c941a 100644 --- a/test/ttsafe.c +++ b/test/ttsafe.c @@ -63,8 +63,6 @@ int num_errs = 0; int Verbosity; /* ANY new test needs to have a prototype in tproto.h */ -TestStruct Test[MAXNUMOFTESTS]; -int Index = 0; static void usage(void); |