summaryrefslogtreecommitdiffstats
path: root/src/H5FSstat.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-09-30 14:27:10 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-09-30 14:27:10 (GMT)
commitb2d661b508a7fc7a2592c13bc6bdc175551f075d (patch)
tree13baeb0d83a7c2a4c6299993c182b1227c2f6114 /src/H5FSstat.c
parent29ab58b58dce556639ea3154e262895773a8a8df (diff)
downloadhdf5-b2d661b508a7fc7a2592c13bc6bdc175551f075d.zip
hdf5-b2d661b508a7fc7a2592c13bc6bdc175551f075d.tar.gz
hdf5-b2d661b508a7fc7a2592c13bc6bdc175551f075d.tar.bz2
Clang-format of source files
Diffstat (limited to 'src/H5FSstat.c')
-rw-r--r--src/H5FSstat.c35
1 files changed, 12 insertions, 23 deletions
diff --git a/src/H5FSstat.c b/src/H5FSstat.c
index e2ad5bb..6c15dd5 100644
--- a/src/H5FSstat.c
+++ b/src/H5FSstat.c
@@ -20,53 +20,43 @@
/* Module Setup */
/****************/
-#include "H5FSmodule.h" /* This source code file is part of the H5FS module */
-
+#include "H5FSmodule.h" /* This source code file is part of the H5FS module */
/***********/
/* Headers */
/***********/
-#include "H5private.h" /* Generic Functions */
-#include "H5Eprivate.h" /* Error handling */
-#include "H5FSpkg.h" /* Free-space manager */
-
+#include "H5private.h" /* Generic Functions */
+#include "H5Eprivate.h" /* Error handling */
+#include "H5FSpkg.h" /* Free-space manager */
/****************/
/* Local Macros */
/****************/
-
/********************/
/* Package Typedefs */
/********************/
-
/******************/
/* Local Typedefs */
/******************/
-
/********************/
/* Local Prototypes */
/********************/
-
/*********************/
/* Package Variables */
/*********************/
-
/*****************************/
/* Library Private Variables */
/*****************************/
-
/*******************/
/* Local Variables */
/*******************/
-
-
/*-------------------------------------------------------------------------
* Function: H5FS_stat_info
*
@@ -89,16 +79,15 @@ H5FS_stat_info(const H5F_t *f, const H5FS_t *frsp, H5FS_stat_t *stats)
HDassert(stats);
/* Report statistics for free space */
- stats->tot_space = frsp->tot_space;
- stats->tot_sect_count = frsp->tot_sect_count;
+ stats->tot_space = frsp->tot_space;
+ stats->tot_sect_count = frsp->tot_sect_count;
stats->serial_sect_count = frsp->serial_sect_count;
- stats->ghost_sect_count = frsp->ghost_sect_count;
- stats->addr = frsp->addr;
- stats->hdr_size = (hsize_t)H5FS_HEADER_SIZE(f);
- stats->sect_addr = frsp->sect_addr;
- stats->alloc_sect_size = frsp->alloc_sect_size;
- stats->sect_size = frsp->sect_size;
+ stats->ghost_sect_count = frsp->ghost_sect_count;
+ stats->addr = frsp->addr;
+ stats->hdr_size = (hsize_t)H5FS_HEADER_SIZE(f);
+ stats->sect_addr = frsp->sect_addr;
+ stats->alloc_sect_size = frsp->alloc_sect_size;
+ stats->sect_size = frsp->sect_size;
FUNC_LEAVE_NOAPI(SUCCEED)
} /* H5FS_stat_info() */
-