summaryrefslogtreecommitdiffstats
path: root/src/H5FLprivate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5FLprivate.h')
-rw-r--r--src/H5FLprivate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5FLprivate.h b/src/H5FLprivate.h
index 56739e9..4a9d90d 100644
--- a/src/H5FLprivate.h
+++ b/src/H5FLprivate.h
@@ -45,6 +45,7 @@ typedef struct H5FL_head_t {
uintn init; /* Whether the free list has been initialized */
uintn allocated; /* Number of blocks allocated */
uintn onlist; /* Number of blocks on free list */
+ size_t list_mem; /* Amount of memory on free list */
const char *name; /* Name of the type */
size_t size; /* Size of the blocks in the list */
H5FL_node_t *list; /* List of free blocks */
@@ -54,7 +55,7 @@ typedef struct H5FL_head_t {
* Macros for defining & using free lists for a type
*/
/* Declare a free list to manage objects of type 't' */
-#define H5FL_DEFINE(t) H5FL_head_t t##_free_list={0,0,0,#t,sizeof(t),NULL}
+#define H5FL_DEFINE(t) H5FL_head_t t##_free_list={0,0,0,0,#t,sizeof(t),NULL}
/* Reference a free list for type 't' defined in another file */
#define H5FL_EXTERN(t) extern H5FL_head_t t##_free_list