diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2004-01-05 22:30:53 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2004-01-05 22:30:53 (GMT) |
commit | 1b4b706db78cd565da6671fdcfd375a94a6d6702 (patch) | |
tree | b6b86e56aec5fa0bf72c309a7c63d6391aa4deba /test/h5test.c | |
parent | dc458e5f6f7f4ea69644653aa3f348d2f6eb9d53 (diff) | |
download | hdf5-1b4b706db78cd565da6671fdcfd375a94a6d6702.zip hdf5-1b4b706db78cd565da6671fdcfd375a94a6d6702.tar.gz hdf5-1b4b706db78cd565da6671fdcfd375a94a6d6702.tar.bz2 |
[svn-r8018] Purpose:
Fixed a dumb mistake.
Description:
Other tests barked at the changes.
Solution:
Move the declaration of Index and Test[] into h5test.c.
Platforms tested:
Tested in eirene.
Misc. update:
Diffstat (limited to 'test/h5test.c')
-rw-r--r-- | test/h5test.c | 8 |
1 files changed, 8 insertions, 0 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 */ |