diff options
Diffstat (limited to 'src/H5Ostab.c')
-rw-r--r-- | src/H5Ostab.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/H5Ostab.c b/src/H5Ostab.c index 7bb06d5..e5996c6 100644 --- a/src/H5Ostab.c +++ b/src/H5Ostab.c @@ -32,7 +32,6 @@ #include "H5Eprivate.h" /* Error handling */ #include "H5FLprivate.h" /* Free lists */ #include "H5Gpkg.h" /* Groups */ -#include "H5MMprivate.h" /* Memory management */ #include "H5Opkg.h" /* Object headers */ @@ -41,7 +40,7 @@ static void *H5O_stab_decode(H5F_t *f, hid_t dxpl_id, const uint8_t *p, H5O_shar static herr_t H5O_stab_encode(H5F_t *f, uint8_t *p, const void *_mesg); static void *H5O_stab_copy(const void *_mesg, void *_dest, unsigned update_flags); static size_t H5O_stab_size(const H5F_t *f, const void *_mesg); -static herr_t H5O_stab_free (void *_mesg); +static herr_t H5O_stab_free(void *_mesg); static herr_t H5O_stab_delete(H5F_t *f, hid_t dxpl_id, const void *_mesg); static herr_t H5O_stab_debug(H5F_t *f, hid_t dxpl_id, const void *_mesg, FILE * stream, int indent, int fwidth); @@ -72,7 +71,7 @@ H5FL_DEFINE_STATIC(H5O_stab_t); * Function: H5O_stab_decode * * Purpose: Decode a symbol table message and return a pointer to - * a new one created with malloc(). + * a newly allocated one. * * Return: Success: Ptr to new message in native order. * @@ -97,7 +96,7 @@ H5O_stab_decode(H5F_t *f, hid_t UNUSED dxpl_id, const uint8_t *p, H5O_shared_t U /* check args */ assert(f); assert(p); - assert (!sh); + assert(!sh); /* decode */ if (NULL==(stab = H5FL_CALLOC(H5O_stab_t))) |