summaryrefslogtreecommitdiffstats
path: root/src/H5Clog_json.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Clog_json.c')
-rw-r--r--src/H5Clog_json.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5Clog_json.c b/src/H5Clog_json.c
index f009f4f..64aa0a4 100644
--- a/src/H5Clog_json.c
+++ b/src/H5Clog_json.c
@@ -178,7 +178,7 @@ done:
} /* H5C__json_write_log_message() */
/*-------------------------------------------------------------------------
- * Function: H5C_log_json_set_up
+ * Function: H5C__log_json_set_up
*
* Purpose: Setup for metadata cache logging.
*
@@ -199,14 +199,14 @@ done:
*-------------------------------------------------------------------------
*/
herr_t
-H5C_log_json_set_up(H5C_log_info_t *log_info, const char log_location[], int mpi_rank)
+H5C__log_json_set_up(H5C_log_info_t *log_info, const char log_location[], int mpi_rank)
{
H5C_log_json_udata_t *json_udata = NULL;
char *file_name = NULL;
size_t n_chars;
herr_t ret_value = SUCCEED; /* Return value */
- FUNC_ENTER_NOAPI(FAIL)
+ FUNC_ENTER_PACKAGE
/* Sanity checks */
assert(log_info);
@@ -265,7 +265,7 @@ done:
}
FUNC_LEAVE_NOAPI(ret_value)
-} /* H5C_log_json_set_up() */
+} /* H5C__log_json_set_up() */
/*-------------------------------------------------------------------------
* Function: H5C__json_tear_down_logging
@@ -294,7 +294,7 @@ H5C__json_tear_down_logging(H5C_log_info_t *log_info)
H5MM_xfree(json_udata->message);
/* Close log file */
- if (EOF == HDfclose(json_udata->outfile))
+ if (EOF == fclose(json_udata->outfile))
HGOTO_ERROR(H5E_CACHE, H5E_LOGGING, FAIL, "problem closing mdc log file")
json_udata->outfile = NULL;