summaryrefslogtreecommitdiffstats
path: root/src/H5FAstat.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/H5FAstat.c
parent29ab58b58dce556639ea3154e262895773a8a8df (diff)
downloadhdf5-b2d661b508a7fc7a2592c13bc6bdc175551f075d.zip
hdf5-b2d661b508a7fc7a2592c13bc6bdc175551f075d.tar.gz
hdf5-b2d661b508a7fc7a2592c13bc6bdc175551f075d.tar.bz2
Clang-format of source files
Diffstat (limited to 'src/H5FAstat.c')
-rw-r--r--src/H5FAstat.c44
1 files changed, 15 insertions, 29 deletions
diff --git a/src/H5FAstat.c b/src/H5FAstat.c
index 882da99..775acbc 100644
--- a/src/H5FAstat.c
+++ b/src/H5FAstat.c
@@ -24,59 +24,48 @@
/* Module Declaration */
/**********************/
-#include "H5FAmodule.h" /* This source code file is part of the H5FA module */
-
+#include "H5FAmodule.h" /* This source code file is part of the H5FA module */
/***********************/
/* Other Packages Used */
/***********************/
-
/***********/
/* Headers */
/***********/
-#include "H5private.h" /* Generic Functions */
-#include "H5Eprivate.h" /* Error handling */
-#include "H5FApkg.h" /* Fixed Arrays */
-#include "H5MMprivate.h" /* Memory management */
-
+#include "H5private.h" /* Generic Functions */
+#include "H5Eprivate.h" /* Error handling */
+#include "H5FApkg.h" /* Fixed Arrays */
+#include "H5MMprivate.h" /* Memory management */
/****************/
/* Local Macros */
/****************/
-
/******************/
/* Local Typedefs */
/******************/
-
/********************/
/* Package Typedefs */
/********************/
-
/********************/
/* Local Prototypes */
/********************/
-
/*********************/
/* Package Variables */
/*********************/
-
/*****************************/
/* Library Private Variables */
/*****************************/
-
/*******************/
/* Local Variables */
/*******************/
-
-
/*-------------------------------------------------------------------------
* Function: H5FA_get_stats
*
@@ -89,24 +78,21 @@
*
*-------------------------------------------------------------------------
*/
-BEGIN_FUNC(PRIV, NOERR,
-herr_t, SUCCEED, -,
-H5FA_get_stats(const H5FA_t *fa, H5FA_stat_t *stats))
+BEGIN_FUNC(PRIV, NOERR, herr_t, SUCCEED, -, H5FA_get_stats(const H5FA_t *fa, H5FA_stat_t *stats))
- /* Local variables */
+/* Local variables */
#ifdef H5FA_DEBUG
HDfprintf(stderr, "%s: Called\n", FUNC);
#endif /* H5FA_DEBUG */
- /*
- * Check arguments.
- */
- HDassert(fa);
- HDassert(stats);
-
- /* Copy fixed array statistics */
- H5MM_memcpy(stats, &fa->hdr->stats, sizeof(fa->hdr->stats));
+/*
+ * Check arguments.
+ */
+HDassert(fa);
+HDassert(stats);
-END_FUNC(PRIV) /* end H5FA_get_stats() */
+/* Copy fixed array statistics */
+H5MM_memcpy(stats, &fa->hdr->stats, sizeof(fa->hdr->stats));
+END_FUNC(PRIV) /* end H5FA_get_stats() */