summaryrefslogtreecommitdiffstats
path: root/src/H5B2test.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-03-11 21:57:18 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-03-11 21:57:18 (GMT)
commite054e736aa115ab749658c454701229b1656569d (patch)
tree215e92e2e33ccf39e218ce2cc7fe708949a4124b /src/H5B2test.c
parent6b6af9d5fc269b7baf2f8c5cc2646a102640168c (diff)
downloadhdf5-e054e736aa115ab749658c454701229b1656569d.zip
hdf5-e054e736aa115ab749658c454701229b1656569d.tar.gz
hdf5-e054e736aa115ab749658c454701229b1656569d.tar.bz2
[svn-r12077] Purpose:
Code cleanup Description: Fix/update formatting, clean up typos, etc. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
Diffstat (limited to 'src/H5B2test.c')
-rw-r--r--src/H5B2test.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/H5B2test.c b/src/H5B2test.c
index 26924e7..7749ee7 100644
--- a/src/H5B2test.c
+++ b/src/H5B2test.c
@@ -16,6 +16,7 @@
* Thursday, February 3, 2005
*
* Purpose: v2 B-tree testing functions.
+ *
*/
/****************/
@@ -29,7 +30,7 @@
/* Headers */
/***********/
#include "H5private.h" /* Generic Functions */
-#include "H5B2pkg.h" /* B-trees */
+#include "H5B2pkg.h" /* v2 B-trees */
#include "H5Eprivate.h" /* Error handling */
/****************/
@@ -98,9 +99,9 @@ H5B2_test_store(void *nrecord, const void *udata)
{
FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5B2_test_store)
- *(hsize_t *)nrecord=*(const hsize_t *)udata;
+ *(hsize_t *)nrecord = *(const hsize_t *)udata;
- FUNC_LEAVE_NOAPI(SUCCEED);
+ FUNC_LEAVE_NOAPI(SUCCEED)
} /* H5B2_test_store() */
@@ -123,9 +124,9 @@ H5B2_test_retrieve(void *udata, const void *nrecord)
{
FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5B2_test_retrieve)
- *(hsize_t *)udata=*(const hsize_t *)nrecord;
+ *(hsize_t *)udata = *(const hsize_t *)nrecord;
- FUNC_LEAVE_NOAPI(SUCCEED);
+ FUNC_LEAVE_NOAPI(SUCCEED)
} /* H5B2_test_retrieve() */
@@ -148,7 +149,7 @@ H5B2_test_compare(const void *rec1, const void *rec2)
{
FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5B2_test_compare)
- FUNC_LEAVE_NOAPI((herr_t)(*(const hssize_t *)rec1-*(const hssize_t *)rec2));
+ FUNC_LEAVE_NOAPI((herr_t)(*(const hssize_t *)rec1-*(const hssize_t *)rec2))
} /* H5B2_test_compare() */
@@ -173,7 +174,7 @@ H5B2_test_encode(const H5F_t *f, uint8_t *raw, const void *nrecord)
H5F_ENCODE_LENGTH(f, raw, *(const hsize_t *)nrecord);
- FUNC_LEAVE_NOAPI(SUCCEED);
+ FUNC_LEAVE_NOAPI(SUCCEED)
} /* H5B2_test_encode() */
@@ -198,7 +199,7 @@ H5B2_test_decode(const H5F_t *f, const uint8_t *raw, void *nrecord)
H5F_DECODE_LENGTH(f, raw, *(hsize_t *)nrecord);
- FUNC_LEAVE_NOAPI(SUCCEED);
+ FUNC_LEAVE_NOAPI(SUCCEED)
} /* H5B2_test_decode() */
@@ -227,7 +228,7 @@ H5B2_test_debug(FILE *stream, const H5F_t UNUSED *f, hid_t UNUSED dxpl_id, int i
HDfprintf(stream, "%*s%-*s %Hu\n", indent, "", fwidth, "Record:",
*(const hsize_t *)record);
- FUNC_LEAVE_NOAPI(SUCCEED);
+ FUNC_LEAVE_NOAPI(SUCCEED)
} /* H5B2_test_debug() */