diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-12-06 20:38:31 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-12-06 20:38:31 (GMT) |
commit | 31431be37492b0446c048401bcb9512ae23ef8f4 (patch) | |
tree | 9928afd828704483be974f8e2cd8238bbc576869 /src/H5V.c | |
parent | 1b1e1ebbbd5b4d18c5f413e79b58f7f7e782519f (diff) | |
download | hdf5-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/H5V.c')
-rw-r--r-- | src/H5V.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -72,7 +72,7 @@ static void H5V_stride_optimize1(unsigned *np/*in,out*/, hsize_t *elmt_size/*in,out*/, const hsize_t *size, hssize_t *stride1) { - FUNC_ENTER_NOINIT(H5V_stride_optimize1); + FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5V_stride_optimize1); /* * This has to be true because if we optimize the dimensionality down to @@ -123,7 +123,7 @@ static void H5V_stride_optimize2(unsigned *np/*in,out*/, hsize_t *elmt_size/*in,out*/, const hsize_t *size, hssize_t *stride1, hssize_t *stride2) { - FUNC_ENTER_NOINIT(H5V_stride_optimize2) + FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5V_stride_optimize2) /* * This has to be true because if we optimize the dimensionality down to @@ -392,8 +392,8 @@ H5V_hyper_eq(int n, int i; htri_t ret_value=TRUE; /* Return value */ - /* Use FUNC_ENTER_NOINIT here to avoid performance issues */ - FUNC_ENTER_NOINIT(H5V_hyper_eq) + /* Use FUNC_ENTER_NOAPI_NOINIT_NOFUNC here to avoid performance issues */ + FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5V_hyper_eq) if (n <= 0) HGOTO_DONE(TRUE) @@ -439,8 +439,8 @@ H5V_hyper_disjointp(unsigned n, unsigned u; htri_t ret_value=FALSE; /* Return value */ - /* Use FUNC_ENTER_NOINIT here to avoid performance issues */ - FUNC_ENTER_NOINIT(H5V_hyper_disjointp) + /* Use FUNC_ENTER_NOAPI_NOINIT_NOFUNC here to avoid performance issues */ + FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5V_hyper_disjointp) if (!n || !size1 || !size2) HGOTO_DONE(TRUE) @@ -896,7 +896,7 @@ H5V_stride_copy2(hsize_t nelmts, hsize_t elmt_size, int j; /* Local index variable */ hbool_t carry; - FUNC_ENTER_NOINIT(H5V_stride_copy2) + FUNC_ENTER_NOAPI_NOINIT(H5V_stride_copy2) assert (elmt_size < SIZET_MAX); assert(dst_n>0); |