From 59c2f32bc7fcd550d5162ebbf3899e2c4a16d3e1 Mon Sep 17 00:00:00 2001 From: Dana Robinson Date: Mon, 14 Dec 2015 01:47:35 -0500 Subject: [svn-r28620] Minor normalization of H5HL package with revise_chunks. Tested on: Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 serial only (these changes have been in revise_chunks for a long time) --- src/H5HL.c | 10 ++++------ src/H5HLcache.c | 3 +++ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/H5HL.c b/src/H5HL.c index 8c6fd3e..7ad2e3c 100644 --- a/src/H5HL.c +++ b/src/H5HL.c @@ -96,12 +96,10 @@ H5FL_BLK_DEFINE(lheap_chunk); /*------------------------------------------------------------------------- * Function: H5HL_create * - * Purpose: Creates a new heap data structure on disk and caches it - * in memory. SIZE_HINT is a hint for the initial size of the - * data area of the heap. If size hint is invalid then a - * reasonable (but probably not optimal) size will be chosen. - * If the heap ever has to grow, then REALLOC_HINT is the - * minimum amount by which the heap will grow. + * Purpose: Creates a new heap data structure on disk and caches it + * in memory. SIZE_HINT is a hint for the initial size of the + * data area of the heap. If size hint is invalid then a + * reasonable (but probably not optimal) size will be chosen. * * Return: Success: SUCCEED. The file address of new heap is * returned through the ADDR argument. diff --git a/src/H5HLcache.c b/src/H5HLcache.c index 1133dd3..faa5ff2 100644 --- a/src/H5HLcache.c +++ b/src/H5HLcache.c @@ -93,6 +93,9 @@ static herr_t H5HL__cache_datablock_serialize(const H5F_t *f, void *image, size_t len, void *thing); static herr_t H5HL__cache_datablock_free_icr(void *thing); +/* Free list de/serialization */ +static herr_t H5HL__fl_deserialize(H5HL_t *heap); +static void H5HL__fl_serialize(const H5HL_t *heap); /*********************/ /* Package Variables */ -- cgit v0.12