summaryrefslogtreecommitdiffstats
path: root/src/H5HFpkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-08-22 20:00:43 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-08-22 20:00:43 (GMT)
commit06ae330cd842f7e8cf573cbde5917fc42d93beb0 (patch)
tree69198b55af920b756e5e98efa4860498e5e017f6 /src/H5HFpkg.h
parent952c60946cc4a91f30b456519568184bed6ce75b (diff)
downloadhdf5-06ae330cd842f7e8cf573cbde5917fc42d93beb0.zip
hdf5-06ae330cd842f7e8cf573cbde5917fc42d93beb0.tar.gz
hdf5-06ae330cd842f7e8cf573cbde5917fc42d93beb0.tar.bz2
[svn-r12614] Description:
Various minor reformatting & code cleanups. Tested On: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5HFpkg.h')
-rw-r--r--src/H5HFpkg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5HFpkg.h b/src/H5HFpkg.h
index 9415281..aaa9b52 100644
--- a/src/H5HFpkg.h
+++ b/src/H5HFpkg.h
@@ -46,15 +46,15 @@
/* Fractal heap signatures */
#define H5HF_HDR_MAGIC "FRHP" /* Header */
-#define H5HF_DBLOCK_MAGIC "FHDB" /* Direct block */
#define H5HF_IBLOCK_MAGIC "FHIB" /* Indirect block */
+#define H5HF_DBLOCK_MAGIC "FHDB" /* Direct block */
/* Size of checksum information (on disk) */
#define H5HF_SIZEOF_CHKSUM 4
/* "Standard" size of prefix information for fractal heap metadata */
#define H5HF_METADATA_PREFIX_SIZE(c) ( \
- 4 /* Signature */ \
+ H5HF_SIZEOF_MAGIC /* Signature */ \
+ 1 /* Version */ \
+ ((c) ? H5HF_SIZEOF_CHKSUM : 0) /* Metadata checksum */ \
)