diff options
Diffstat (limited to 'src/H5EAstat.c')
-rw-r--r-- | src/H5EAstat.c | 44 |
1 files changed, 15 insertions, 29 deletions
diff --git a/src/H5EAstat.c b/src/H5EAstat.c index 68e0b1e..1e0197d 100644 --- a/src/H5EAstat.c +++ b/src/H5EAstat.c @@ -26,59 +26,48 @@ /* Module Declaration */ /**********************/ -#include "H5EAmodule.h" /* This source code file is part of the H5EA module */ - +#include "H5EAmodule.h" /* This source code file is part of the H5EA module */ /***********************/ /* Other Packages Used */ /***********************/ - /***********/ /* Headers */ /***********/ -#include "H5private.h" /* Generic Functions */ -#include "H5Eprivate.h" /* Error handling */ -#include "H5EApkg.h" /* Extensible Arrays */ -#include "H5MMprivate.h" /* Memory management */ - +#include "H5private.h" /* Generic Functions */ +#include "H5Eprivate.h" /* Error handling */ +#include "H5EApkg.h" /* Extensible Arrays */ +#include "H5MMprivate.h" /* Memory management */ /****************/ /* Local Macros */ /****************/ - /******************/ /* Local Typedefs */ /******************/ - /********************/ /* Package Typedefs */ /********************/ - /********************/ /* Local Prototypes */ /********************/ - /*********************/ /* Package Variables */ /*********************/ - /*****************************/ /* Library Private Variables */ /*****************************/ - /*******************/ /* Local Variables */ /*******************/ - - /*------------------------------------------------------------------------- * Function: H5EA_get_stats * @@ -91,20 +80,17 @@ * *------------------------------------------------------------------------- */ -BEGIN_FUNC(PRIV, NOERR, -herr_t, SUCCEED, -, -H5EA_get_stats(const H5EA_t *ea, H5EA_stat_t *stats)) - - /* Local variables */ +BEGIN_FUNC(PRIV, NOERR, herr_t, SUCCEED, -, H5EA_get_stats(const H5EA_t *ea, H5EA_stat_t *stats)) - /* - * Check arguments. - */ - HDassert(ea); - HDassert(stats); +/* Local variables */ - /* Copy extensible array statistics */ - H5MM_memcpy(stats, &ea->hdr->stats, sizeof(ea->hdr->stats)); +/* + * Check arguments. + */ +HDassert(ea); +HDassert(stats); -END_FUNC(PRIV) /* end H5EA_get_stats() */ +/* Copy extensible array statistics */ +H5MM_memcpy(stats, &ea->hdr->stats, sizeof(ea->hdr->stats)); +END_FUNC(PRIV) /* end H5EA_get_stats() */ |