summaryrefslogtreecommitdiffstats
path: root/src/H5Toh.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2012-02-09 03:13:27 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2012-02-09 03:13:27 (GMT)
commit9c9ee2008c10801c11bce8563894d9a30ba9a959 (patch)
treec2b89df08fa3895d3fae1a4ad87353f9aabee598 /src/H5Toh.c
parenteb0e5f8c4ea29e674c97a8be048814e26379d4c1 (diff)
downloadhdf5-9c9ee2008c10801c11bce8563894d9a30ba9a959.zip
hdf5-9c9ee2008c10801c11bce8563894d9a30ba9a959.tar.gz
hdf5-9c9ee2008c10801c11bce8563894d9a30ba9a959.tar.bz2
[svn-r21919] Description:
Refactor function name macros and simplify the FUNC_ENTER macros, to clear away the cruft and prepare for further cleanups. Tested on: Mac OSX/64 10.7.3 (amazon) w/debug, production & parallel
Diffstat (limited to 'src/H5Toh.c')
-rw-r--r--src/H5Toh.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5Toh.c b/src/H5Toh.c
index 886acc1..5878075 100644
--- a/src/H5Toh.c
+++ b/src/H5Toh.c
@@ -98,12 +98,12 @@ const H5O_obj_class_t H5O_OBJ_DATATYPE[1] = {{
*
*-------------------------------------------------------------------------
*/
-htri_t
+static htri_t
H5O_dtype_isa(struct H5O_t *oh)
{
htri_t ret_value; /* Return value */
- FUNC_ENTER_NOAPI(H5O_dtype_isa, FAIL)
+ FUNC_ENTER_NOAPI_NOINIT
HDassert(oh);
@@ -134,7 +134,7 @@ H5O_dtype_open(const H5G_loc_t *obj_loc, hid_t UNUSED lapl_id, hid_t dxpl_id, hb
H5T_t *type = NULL; /* Datatype opened */
hid_t ret_value; /* Return value */
- FUNC_ENTER_NOAPI_NOINIT(H5O_dtype_open)
+ FUNC_ENTER_NOAPI_NOINIT
HDassert(obj_loc);
@@ -174,7 +174,7 @@ H5O_dtype_create(H5F_t *f, void *_crt_info, H5G_loc_t *obj_loc, hid_t dxpl_id)
H5T_obj_create_t *crt_info = (H5T_obj_create_t *)_crt_info; /* Named datatype creation parameters */
void *ret_value; /* Return value */
- FUNC_ENTER_NOAPI_NOINIT(H5O_dtype_create)
+ FUNC_ENTER_NOAPI_NOINIT
/* Sanity checks */
HDassert(f);
@@ -218,7 +218,7 @@ H5O_dtype_get_oloc(hid_t obj_id)
H5T_t *type; /* Datatype opened */
H5O_loc_t *ret_value; /* Return value */
- FUNC_ENTER_NOAPI_NOINIT(H5O_dtype_get_oloc)
+ FUNC_ENTER_NOAPI_NOINIT
/* Get the datatype */
if(NULL == (type = (H5T_t *)H5I_object(obj_id)))