diff options
author | Robb Matzke <matzke@llnl.gov> | 1997-12-19 18:28:42 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1997-12-19 18:28:42 (GMT) |
commit | 2f5495e5503138167eee893e57030df70625e10b (patch) | |
tree | ac2b06ab50b464fe8f66d413968719d796c9eb94 | |
parent | 953979f4a00f25a94a018ab6d979436991bd5620 (diff) | |
download | hdf5-2f5495e5503138167eee893e57030df70625e10b.zip hdf5-2f5495e5503138167eee893e57030df70625e10b.tar.gz hdf5-2f5495e5503138167eee893e57030df70625e10b.tar.bz2 |
[svn-r148] ./src/H5ACprivate.h
Removed some debugging fields from a struct when debugging is
turned off.
./src/H5H.c
Reformatted a couple long lines.
-rw-r--r-- | src/H5ACprivate.h | 2 | ||||
-rw-r--r-- | src/H5H.c | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/H5ACprivate.h b/src/H5ACprivate.h index f775ca0..075966f 100644 --- a/src/H5ACprivate.h +++ b/src/H5ACprivate.h @@ -82,9 +82,11 @@ typedef struct H5AC_slot_t { const H5AC_class_t *type; /*type of object stored here */ haddr_t addr; /*file address for object */ void *thing; /*the thing which is cached */ +#ifdef H5AC_DEBUG intn nprots; /*number of things protected */ intn aprots; /*nelmts of `prot' array */ H5AC_prot_t *prot; /*array of protected things */ +#endif } H5AC_slot_t; typedef struct H5AC_t { @@ -106,7 +106,8 @@ H5H_create (H5F_t *f, H5H_type_t heap_type, size_t size_hint, assert (addr); if (H5H_GLOBAL==heap_type) { #ifndef NDEBUG - fprintf (stderr, "H5H_create: a local heap is used as the global heap\n"); + fprintf (stderr, "H5H_create: a local heap is used as the global " + "heap\n"); #endif } @@ -888,7 +889,8 @@ H5H_remove (H5F_t *f, const haddr_t *addr, size_t offset, size_t size) *------------------------------------------------------------------------- */ herr_t -H5H_debug (H5F_t *f, const haddr_t *addr, FILE *stream, intn indent, intn fwidth) +H5H_debug (H5F_t *f, const haddr_t *addr, FILE *stream, intn indent, + intn fwidth) { H5H_t *h = NULL; int i, j, overlap; |