diff options
author | Robb Matzke <matzke@llnl.gov> | 1997-12-16 21:08:59 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1997-12-16 21:08:59 (GMT) |
commit | 953979f4a00f25a94a018ab6d979436991bd5620 (patch) | |
tree | 8e77017ce3668214ab3ce95144361e85d2257eb9 /test/dsets.c | |
parent | e615fc7a982c1817cf7d4c24adf9323604692310 (diff) | |
download | hdf5-953979f4a00f25a94a018ab6d979436991bd5620.zip hdf5-953979f4a00f25a94a018ab6d979436991bd5620.tar.gz hdf5-953979f4a00f25a94a018ab6d979436991bd5620.tar.bz2 |
[svn-r147] ./test/dsets.c
./test/dtypes.c
./test/hyperslab.c
./test/istore.c
Added a definition for __FUNCTION__. Changed a couple
variable types.
./test/testhdf5.h
The error stack is printed when something goes wrong.
Diffstat (limited to 'test/dsets.c')
-rw-r--r-- | test/dsets.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/dsets.c b/test/dsets.c index 51a023c..f6d4df8 100644 --- a/test/dsets.c +++ b/test/dsets.c @@ -13,6 +13,9 @@ #include <stdio.h> #include <unistd.h> +#ifndef HAVE_FUNCTION +#define __FUNCTION__ "" +#endif #define AT() printf (" at %s:%d in %s()...\n", \ __FILE__, __LINE__, __FUNCTION__); @@ -41,7 +44,7 @@ static herr_t test_create (hid_t file) { hid_t dataset, space, create_parms; - intn dims[2]; + size_t dims[2]; herr_t status; size_t csize[2]; @@ -206,7 +209,8 @@ test_simple_io (hid_t file) hid_t dataset, space; herr_t status; int points[100][200], check[100][200]; - int i, j, n, dims[2]; + int i, j, n; + size_t dims[2]; printf ("%-70s", "Testing simple I/O"); |