diff options
author | David Young <dyoung@hdfgroup.org> | 2019-11-13 17:35:00 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2019-11-13 17:35:00 (GMT) |
commit | 833c0a2fc62927b1c1920c895f760260c3515b9b (patch) | |
tree | c1d3b3905efd6b0f12f81a78280d2ab0131d7517 /test/vds_swmr_common.c | |
parent | 98c4ed49e843e9006e027553597a7e244d21c5cb (diff) | |
download | hdf5-833c0a2fc62927b1c1920c895f760260c3515b9b.zip hdf5-833c0a2fc62927b1c1920c895f760260c3515b9b.tar.gz hdf5-833c0a2fc62927b1c1920c895f760260c3515b9b.tar.bz2 |
Move some static functions and variables to .c files to avoid unused
function/variable warnings.
Diffstat (limited to 'test/vds_swmr_common.c')
-rw-r--r-- | test/vds_swmr_common.c | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/test/vds_swmr_common.c b/test/vds_swmr_common.c new file mode 100644 index 0000000..d2b4bd6 --- /dev/null +++ b/test/vds_swmr_common.c @@ -0,0 +1,36 @@ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * Copyright by The HDF Group. * + * Copyright by the Board of Trustees of the University of Illinois. * + * All rights reserved. * + * * + * This file is part of HDF5. The full HDF5 copyright notice, including * + * terms governing use, modification, and redistribution, is contained in * + * the COPYING file, which can be found at the root of the source code * + * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. * + * If you do not have access to either file, you may request a copy from * + * help@hdfgroup.org. * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + +#include "vds_swmr.h" + +hsize_t PLANES[N_SOURCES][RANK] = { + {1, SM_HEIGHT, WIDTH}, + {1, LG_HEIGHT, WIDTH}, + {1, SM_HEIGHT, WIDTH}, + {1, LG_HEIGHT, WIDTH}, + {1, SM_HEIGHT, WIDTH}, + {1, LG_HEIGHT, WIDTH} +}; + +char FILE_NAMES[N_SOURCES][NAME_LEN] = { + {"vds_swmr_src_a.h5"}, + {"vds_swmr_src_b.h5"}, + {"vds_swmr_src_c.h5"}, + {"vds_swmr_src_d.h5"}, + {"vds_swmr_src_e.h5"}, + {"vds_swmr_src_f.h5"} +}; + +char VDS_FILE_NAME[NAME_LEN] = "vds_swmr.h5"; +char SOURCE_DSET_PATH[NAME_LEN] = "/source_dset"; +char VDS_DSET_NAME[NAME_LEN] = "vds_dset"; |