summaryrefslogtreecommitdiffstats
path: root/src/H5B.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2008-09-22 17:33:58 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2008-09-22 17:33:58 (GMT)
commit926cfe52cc14c735e53709e8b8dc3bfc4d0f8dd8 (patch)
treead06b825bd0d4dc30c88ab14dda1abe0c87f4ed5 /src/H5B.c
parent531822d443296bfe74a76aed6c121ec8421508a5 (diff)
downloadhdf5-926cfe52cc14c735e53709e8b8dc3bfc4d0f8dd8.zip
hdf5-926cfe52cc14c735e53709e8b8dc3bfc4d0f8dd8.tar.gz
hdf5-926cfe52cc14c735e53709e8b8dc3bfc4d0f8dd8.tar.bz2
[svn-r15677] Description:
Bring r15676 back from trunk: Centralize all macros for declaring "magic numbers"/signatures for objects in the file into src/H5Fprivate.h, so it's easier to know what values have already been defined, etc. Tested on: Mac OS X/32 10.5.5 (amazon) Too minor to require h5committest
Diffstat (limited to 'src/H5B.c')
-rw-r--r--src/H5B.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5B.c b/src/H5B.c
index 2d9ca65..c442632 100644
--- a/src/H5B.c
+++ b/src/H5B.c
@@ -119,7 +119,7 @@
/* Local Macros */
/****************/
#define H5B_SIZEOF_HDR(F) \
- (H5B_SIZEOF_MAGIC + /*magic number */ \
+ (H5_SIZEOF_MAGIC + /*magic number */ \
4 + /*type, level, num entries */ \
2*H5F_SIZEOF_ADDR(F)) /*left and right sibling addresses */
#define H5B_NKEY(b,shared,idx) ((b)->native+(shared)->nkey[(idx)])