summaryrefslogtreecommitdiffstats
path: root/src/H5I.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-12-06 20:38:31 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-12-06 20:38:31 (GMT)
commit31431be37492b0446c048401bcb9512ae23ef8f4 (patch)
tree9928afd828704483be974f8e2cd8238bbc576869 /src/H5I.c
parent1b1e1ebbbd5b4d18c5f413e79b58f7f7e782519f (diff)
downloadhdf5-31431be37492b0446c048401bcb9512ae23ef8f4.zip
hdf5-31431be37492b0446c048401bcb9512ae23ef8f4.tar.gz
hdf5-31431be37492b0446c048401bcb9512ae23ef8f4.tar.bz2
[svn-r7917] Purpose:
Code cleanup Description: Clean up compiler warnings, especially the 'FUNC' variable not used which comes out in production mode. Solution: Had to add a new FUNC_ENTER_NOAPI_NOINIT_NOFUNC macro for those non-API functions which don't need the 'FUNC' variable defined. (This will be _so_ much easier when C99 is standard on all our supposed platforms, since it has a __FUNC__ macro... ) Platforms tested: FreeBSD 4.9 (sleipnir) too minor for h5committest (although there were lots of files changed, the change was minor in each one)
Diffstat (limited to 'src/H5I.c')
-rw-r--r--src/H5I.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5I.c b/src/H5I.c
index 51e9cf8..6d624cd 100644
--- a/src/H5I.c
+++ b/src/H5I.c
@@ -141,7 +141,7 @@ static herr_t H5I_debug(H5I_type_t grp);
static herr_t
H5I_init_interface(void)
{
- FUNC_ENTER_NOINIT(H5I_init_interface);
+ FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5I_init_interface);
/*
* Make certain the ID types don't overflow the number of bits allocated
@@ -178,7 +178,7 @@ H5I_term_interface(void)
H5I_type_t grp;
int n=0;
- FUNC_ENTER_NOINIT(H5I_term_interface);
+ FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5I_term_interface);
if (interface_initialize_g) {
/* How many groups are still being used? */
@@ -849,7 +849,7 @@ H5I_get_file_id(hid_t obj_id)
H5G_entry_t *ent;
hid_t ret_value;
- FUNC_ENTER_NOINIT(H5I_get_file_id);
+ FUNC_ENTER_NOAPI_NOINIT(H5I_get_file_id);
/* Get object type */
switch(H5I_GRP(obj_id)) {
@@ -1172,7 +1172,7 @@ H5I_find_id(hid_t id)
unsigned hash_loc; /*bucket pointer */
H5I_id_info_t *ret_value = NULL; /*return value */
- FUNC_ENTER_NOINIT(H5I_find_id);
+ FUNC_ENTER_NOAPI_NOINIT(H5I_find_id);
/* Check arguments */
grp = H5I_GRP(id);