summaryrefslogtreecommitdiffstats
path: root/test/theap.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1997-08-29 16:59:28 (GMT)
committerRobb Matzke <matzke@llnl.gov>1997-08-29 16:59:28 (GMT)
commit3d526ab6cb594c656497fce7efe0589c0f840272 (patch)
tree147f28e7f94c60701a2374c0eb094749e11f6653 /test/theap.c
parent9ada2de83a7a4038e4b3d0e500360eb38ee6ecaa (diff)
downloadhdf5-3d526ab6cb594c656497fce7efe0589c0f840272.zip
hdf5-3d526ab6cb594c656497fce7efe0589c0f840272.tar.gz
hdf5-3d526ab6cb594c656497fce7efe0589c0f840272.tar.bz2
[svn-r51] ./test/tstab.c
./test/tohdr.c ./test/tmeta.c ./test/theap.c ./test/tfile.c ./test/testhdf5.h ./test/testhdf5.c Changed the MESSAGE macro so it doesn't have a semicolon inside the argument list and automatic indentation tools work better. Old call: MESSAGE (5, printfunc("foo%s %d", s, i);); New call: MESSAGE (5, ("foo%s %d", s, i)); The parentheses are required. ./test/tstab.c Added more tests.
Diffstat (limited to 'test/theap.c')
-rw-r--r--test/theap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/theap.c b/test/theap.c
index 5237e4c..7f9b642 100644
--- a/test/theap.c
+++ b/test/theap.c
@@ -50,7 +50,7 @@ test_heap (void)
const char *s;
off_t obj[NOBJS];
- MESSAGE (5, print_func("Testing Heaps\n"););
+ MESSAGE (5, ("Testing Heaps\n"));
/* Create the file */
fid = H5Fcreate ("theap.h5", H5ACC_OVERWRITE, 0, 0);
@@ -78,7 +78,7 @@ test_heap (void)
/* Read the objects back out */
for (i=0; i<NOBJS; i++) {
s = H5H_peek (f, heap, obj[i]);
- MESSAGE (8, print_func ("object is `%s'\n", s););
+ MESSAGE (8, ("object is `%s'\n", s));
}
/* Close the file */