summaryrefslogtreecommitdiffstats
path: root/src/H5T.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-04-08 19:32:40 (GMT)
committerGitHub <noreply@github.com>2022-04-08 19:32:40 (GMT)
commitd433f0f7a67a0bf6336ad6a98ad820302e82b44d (patch)
tree4c3950af7f36671807f5a1fbe96140eb02dc2098 /src/H5T.c
parent95909be9c3491f465b1a61dde5e17381e4179732 (diff)
downloadhdf5-d433f0f7a67a0bf6336ad6a98ad820302e82b44d.zip
hdf5-d433f0f7a67a0bf6336ad6a98ad820302e82b44d.tar.gz
hdf5-d433f0f7a67a0bf6336ad6a98ad820302e82b44d.tar.bz2
Removes the STATIC flavor of FUNC_ENTER macros (#1622)
* Removes the STATIC flavor of FUNC_ENTER macros
Diffstat (limited to 'src/H5T.c')
-rw-r--r--src/H5T.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/H5T.c b/src/H5T.c
index bbe6ce7..27de0e4 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -621,7 +621,7 @@ H5T__init_inf(void)
size_t u; /* Local index value */
herr_t ret_value = SUCCEED; /* Return value */
- FUNC_ENTER_STATIC
+ FUNC_ENTER_PACKAGE
/* Get the float datatype */
if (NULL == (dst_p = (H5T_t *)H5I_object(H5T_NATIVE_FLOAT_g)))
@@ -1462,7 +1462,7 @@ H5T__unlock_cb(void *_dt, hid_t H5_ATTR_UNUSED id, void *_udata)
H5T_t *dt = (H5T_t *)_dt;
int * n = (int *)_udata;
- FUNC_ENTER_STATIC_NOERR
+ FUNC_ENTER_PACKAGE_NOERR
HDassert(dt);
HDassert(dt->shared);
@@ -1720,7 +1720,7 @@ H5T__close_cb(H5T_t *dt, void **request)
{
herr_t ret_value = SUCCEED; /* Return value */
- FUNC_ENTER_STATIC
+ FUNC_ENTER_PACKAGE
/* Sanity check */
HDassert(dt);
@@ -2484,7 +2484,7 @@ H5T__register_int(H5T_pers_t pers, const char *name, H5T_t *src, H5T_t *dst, H5T
H5T_conv_func_t conv_func; /* Conversion function wrapper */
herr_t ret_value = SUCCEED; /* Return value */
- FUNC_ENTER_STATIC
+ FUNC_ENTER_PACKAGE
/* Check args */
HDassert(H5T_PERS_HARD == pers || H5T_PERS_SOFT == pers);
@@ -2535,7 +2535,7 @@ H5T__register(H5T_pers_t pers, const char *name, H5T_t *src, H5T_t *dst, H5T_con
int i; /*counter */
herr_t ret_value = SUCCEED; /*return value */
- FUNC_ENTER_STATIC
+ FUNC_ENTER_PACKAGE
/* Check args */
HDassert(src);
@@ -2769,7 +2769,7 @@ H5T__unregister(H5T_pers_t pers, const char *name, H5T_t *src, H5T_t *dst, H5T_c
int nprint = 0; /*number of paths shut down */
int i; /*counter */
- FUNC_ENTER_STATIC_NOERR
+ FUNC_ENTER_PACKAGE_NOERR
/* Remove matching entries from the soft list */
if (H5T_PERS_DONTCARE == pers || H5T_PERS_SOFT == pers) {
@@ -3424,7 +3424,7 @@ H5T__initiate_copy(const H5T_t *old_dt)
H5T_t *new_dt = NULL; /* Copy of datatype */
H5T_t *ret_value = NULL; /* Return value */
- FUNC_ENTER_STATIC
+ FUNC_ENTER_PACKAGE
/* Allocate space */
if (NULL == (new_dt = H5FL_MALLOC(H5T_t)))
@@ -3477,7 +3477,7 @@ H5T__copy_transient(H5T_t *old_dt)
{
H5T_t *ret_value = NULL; /* Return value */
- FUNC_ENTER_STATIC
+ FUNC_ENTER_PACKAGE
/* Copy datatype, with correct method */
if (NULL == (ret_value = H5T_copy(old_dt, H5T_COPY_TRANSIENT)))
@@ -3505,7 +3505,7 @@ H5T__copy_all(H5T_t *old_dt)
{
H5T_t *ret_value = NULL; /* Return value */
- FUNC_ENTER_STATIC
+ FUNC_ENTER_PACKAGE
/* Copy datatype, with correct method */
if (NULL == (ret_value = H5T_copy(old_dt, H5T_COPY_ALL)))
@@ -3540,7 +3540,7 @@ H5T__complete_copy(H5T_t *new_dt, const H5T_t *old_dt, H5T_shared_t *reopened_fo
unsigned i; /* Local index variable */
herr_t ret_value = SUCCEED; /* Return value */
- FUNC_ENTER_STATIC
+ FUNC_ENTER_PACKAGE
/* Update fields in the new struct, if we aren't sharing an already opened
* committed datatype */
@@ -4239,7 +4239,7 @@ H5T__set_size(H5T_t *dt, size_t size)
size_t prec, offset;
herr_t ret_value = SUCCEED; /* Return value */
- FUNC_ENTER_STATIC
+ FUNC_ENTER_PACKAGE
/* Check args */
HDassert(dt);
@@ -5021,7 +5021,7 @@ H5T__path_find_real(const H5T_t *src, const H5T_t *dst, const char *name, H5T_co
int nprint = 0; /* lines of output printed */
H5T_path_t *ret_value = NULL; /* Return value */
- FUNC_ENTER_STATIC
+ FUNC_ENTER_PACKAGE
/* Sanity check */
HDassert(src);
@@ -5405,7 +5405,7 @@ H5T__compiler_conv(H5T_t *src, H5T_t *dst)
H5T_path_t *path;
htri_t ret_value = FAIL; /* Return value */
- FUNC_ENTER_STATIC
+ FUNC_ENTER_PACKAGE
/* Find it */
if (NULL == (path = H5T_path_find(src, dst)))
@@ -5977,7 +5977,7 @@ H5T__detect_vlen_ref(const H5T_t *dt)
unsigned u; /* Local index variable */
hbool_t ret_value = FALSE; /* Return value */
- FUNC_ENTER_STATIC_NOERR
+ FUNC_ENTER_PACKAGE_NOERR
/* Sanity checks */
HDassert(dt);
@@ -6080,7 +6080,7 @@ H5T_is_vl_storage(const H5T_t *dt)
static herr_t
H5T__upgrade_version_cb(H5T_t *dt, void *op_value)
{
- FUNC_ENTER_STATIC_NOERR
+ FUNC_ENTER_PACKAGE_NOERR
/* Sanity check */
HDassert(dt);