diff options
-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; |