summaryrefslogtreecommitdiffstats
path: root/tools/misc/h5repart_gentest.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/misc/h5repart_gentest.c')
-rw-r--r--tools/misc/h5repart_gentest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/misc/h5repart_gentest.c b/tools/misc/h5repart_gentest.c
index 4e4c8d3..5c1ff87 100644
--- a/tools/misc/h5repart_gentest.c
+++ b/tools/misc/h5repart_gentest.c
@@ -25,12 +25,13 @@
#define FAMILY_SIZE 1024
#define FILENAME "family_file%05d.h5"
+static int buf[FAMILY_NUMBER][FAMILY_SIZE];
+
int main(void)
{
hid_t file=(-1), fapl, space=(-1), dset=(-1);
char dname[]="dataset";
int i, j;
- int buf[FAMILY_NUMBER][FAMILY_SIZE];
hsize_t dims[2]={FAMILY_NUMBER, FAMILY_SIZE};
/* Set property list and file name for FAMILY driver */