Skip to content

Commit

Permalink
Removed trailing semi on all FUNC_ENTER_API uses, it is not a functio…
Browse files Browse the repository at this point in the history
…n-like macro
  • Loading branch information
seanm committed Jun 10, 2023
1 parent 604d17b commit e2bd8a0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/H5Fmpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ H5Fset_mpi_atomicity(hid_t file_id, hbool_t flag)
H5VL_native_file_optional_args_t file_opt_args; /* Arguments for optional operation */
herr_t ret_value = SUCCEED; /* Return value */

FUNC_ENTER_API(FAIL);
FUNC_ENTER_API(FAIL)
H5TRACE2("e", "ib", file_id, flag);

/* Get the file object */
Expand Down Expand Up @@ -319,7 +319,7 @@ H5Fget_mpi_atomicity(hid_t file_id, hbool_t *flag /*out*/)
H5VL_native_file_optional_args_t file_opt_args; /* Arguments for optional operation */
herr_t ret_value = SUCCEED; /* Return value */

FUNC_ENTER_API(FAIL);
FUNC_ENTER_API(FAIL)
H5TRACE2("e", "ix", file_id, flag);

/* Get the file object */
Expand Down
2 changes: 1 addition & 1 deletion src/H5Gdeprec.c
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ H5Gget_objinfo(hid_t loc_id, const char *name, hbool_t follow_link, H5G_stat_t *
H5VL_native_group_optional_args_t grp_opt_args; /* Arguments for optional operation */
herr_t ret_value = SUCCEED; /* Return value */

FUNC_ENTER_API(FAIL);
FUNC_ENTER_API(FAIL)
H5TRACE4("e", "i*sbx", loc_id, name, follow_link, statbuf);

/* Check arguments */
Expand Down
6 changes: 3 additions & 3 deletions src/H5O.c
Original file line number Diff line number Diff line change
Expand Up @@ -2118,7 +2118,7 @@ H5Odisable_mdc_flushes(hid_t object_id)
H5VL_loc_params_t loc_params; /* Location parameters */
herr_t ret_value = SUCCEED; /* Return value */

FUNC_ENTER_API(FAIL);
FUNC_ENTER_API(FAIL)
H5TRACE1("e", "i", object_id);

/* Make sure the ID is a file object */
Expand Down Expand Up @@ -2191,7 +2191,7 @@ H5Oenable_mdc_flushes(hid_t object_id)
H5VL_loc_params_t loc_params; /* Location parameters */
herr_t ret_value = SUCCEED; /* Return value */

FUNC_ENTER_API(FAIL);
FUNC_ENTER_API(FAIL)
H5TRACE1("e", "i", object_id);

/* Make sure the ID is a file object */
Expand Down Expand Up @@ -2270,7 +2270,7 @@ H5Oare_mdc_flushes_disabled(hid_t object_id, hbool_t *are_disabled)
H5VL_loc_params_t loc_params; /* Location parameters */
herr_t ret_value = SUCCEED; /* Return value */

FUNC_ENTER_API(FAIL);
FUNC_ENTER_API(FAIL)
H5TRACE2("e", "i*b", object_id, are_disabled);

/* Sanity check */
Expand Down

0 comments on commit e2bd8a0

Please sign in to comment.