summaryrefslogtreecommitdiffstats
path: root/src/H5HL.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-07-28 19:33:16 (GMT)
committerGitHub <noreply@github.com>2023-07-28 19:33:16 (GMT)
commit8ddf2706f7e0cde59fad6624e2863960e62f6544 (patch)
treef090bb9fa368c90f67029f5d860ef39df3e8b038 /src/H5HL.c
parentb1ab59d239c74cdbea7d518b1398458c4150655f (diff)
downloadhdf5-8ddf2706f7e0cde59fad6624e2863960e62f6544.zip
hdf5-8ddf2706f7e0cde59fad6624e2863960e62f6544.tar.gz
hdf5-8ddf2706f7e0cde59fad6624e2863960e62f6544.tar.bz2
Sync of src w/ develop (#3307)
Diffstat (limited to 'src/H5HL.c')
-rw-r--r--src/H5HL.c25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/H5HL.c b/src/H5HL.c
index 88e2dee..ffec3ad 100644
--- a/src/H5HL.c
+++ b/src/H5HL.c
@@ -13,8 +13,6 @@
/*-------------------------------------------------------------------------
*
* Created: H5HL.c
- * Jul 16 1997
- * Robb Matzke
*
* Purpose: Heap functions for the local heaps used by symbol
* tables to store names (among other things).
@@ -31,11 +29,14 @@
/***********/
/* Headers */
/***********/
-#include "H5private.h" /* Generic Functions */
-#include "H5Eprivate.h" /* Error handling */
-#include "H5Fprivate.h" /* File access */
-#include "H5HLpkg.h" /* Local Heaps */
-#include "H5MFprivate.h" /* File memory management */
+#include "H5private.h" /* Generic Functions */
+#include "H5ACprivate.h" /* Metadata Cache */
+#include "H5Eprivate.h" /* Error Handling */
+#include "H5Fprivate.h" /* Files */
+#include "H5FLprivate.h" /* Free Lists */
+#include "H5HLpkg.h" /* Local Heaps */
+#include "H5MFprivate.h" /* File Memory Management */
+#include "H5MMprivate.h" /* Memory Management */
/****************/
/* Local Macros */
@@ -780,7 +781,7 @@ H5HL_remove(H5F_t *f, H5HL_t *heap, size_t offset, size_t size)
if (FAIL == H5HL__minimize_heap_space(f, heap))
HGOTO_ERROR(H5E_HEAP, H5E_CANTFREE, FAIL, "heap size minimization failed");
}
- HGOTO_DONE(SUCCEED)
+ HGOTO_DONE(SUCCEED);
}
fl2 = fl2->next;
}
@@ -788,7 +789,7 @@ H5HL_remove(H5F_t *f, H5HL_t *heap, size_t offset, size_t size)
if (FAIL == H5HL__minimize_heap_space(f, heap))
HGOTO_ERROR(H5E_HEAP, H5E_CANTFREE, FAIL, "heap size minimization failed");
}
- HGOTO_DONE(SUCCEED)
+ HGOTO_DONE(SUCCEED);
}
else if (fl->offset + fl->size == offset) {
fl->size += size;
@@ -803,7 +804,7 @@ H5HL_remove(H5F_t *f, H5HL_t *heap, size_t offset, size_t size)
if (FAIL == H5HL__minimize_heap_space(f, heap))
HGOTO_ERROR(H5E_HEAP, H5E_CANTFREE, FAIL, "heap size minimization failed");
}
- HGOTO_DONE(SUCCEED)
+ HGOTO_DONE(SUCCEED);
}
fl2 = fl2->next;
}
@@ -811,7 +812,7 @@ H5HL_remove(H5F_t *f, H5HL_t *heap, size_t offset, size_t size)
if (FAIL == H5HL__minimize_heap_space(f, heap))
HGOTO_ERROR(H5E_HEAP, H5E_CANTFREE, FAIL, "heap size minimization failed");
}
- HGOTO_DONE(SUCCEED)
+ HGOTO_DONE(SUCCEED);
}
fl = fl->next;
}
@@ -827,7 +828,7 @@ H5HL_remove(H5F_t *f, H5HL_t *heap, size_t offset, size_t size)
fprintf(H5DEBUG(HL), "H5HL: lost %lu bytes\n", (unsigned long)size);
}
#endif
- HGOTO_DONE(SUCCEED)
+ HGOTO_DONE(SUCCEED);
}
/* Add an entry to the free list */