summaryrefslogtreecommitdiffstats
path: root/src/H5Orefcount.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-10-12 01:29:45 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-10-12 01:29:45 (GMT)
commitca0b287d21f4d73bc7d197ee7f6e92ca2631e373 (patch)
tree22153cbcb36f9313fcbe536b47445db2721476cb /src/H5Orefcount.c
parent637fa77ea7e720eb7b5a932ceeb0d05beeefb978 (diff)
downloadhdf5-ca0b287d21f4d73bc7d197ee7f6e92ca2631e373.zip
hdf5-ca0b287d21f4d73bc7d197ee7f6e92ca2631e373.tar.gz
hdf5-ca0b287d21f4d73bc7d197ee7f6e92ca2631e373.tar.bz2
[svn-r14204] Description:
Move H5Pinsert() out of old "compat v1.6" section and into API versioning, switching internal usage to H5Pinsert2(). Add regression test for H5Pinsert1() Clean up some other minor warnings. Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode
Diffstat (limited to 'src/H5Orefcount.c')
-rw-r--r--src/H5Orefcount.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Orefcount.c b/src/H5Orefcount.c
index 2fd3f94..0a06d11 100644
--- a/src/H5Orefcount.c
+++ b/src/H5Orefcount.c
@@ -89,7 +89,7 @@ H5FL_DEFINE_STATIC(H5O_refcount_t);
*-------------------------------------------------------------------------
*/
static void *
-H5O_refcount_decode(H5F_t *f, hid_t UNUSED dxpl_id, unsigned UNUSED mesg_flags,
+H5O_refcount_decode(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, unsigned UNUSED mesg_flags,
const uint8_t *p)
{
H5O_refcount_t *refcount = NULL; /* Reference count */
@@ -137,7 +137,7 @@ done:
*-------------------------------------------------------------------------
*/
static herr_t
-H5O_refcount_encode(H5F_t *f, hbool_t UNUSED disable_shared, uint8_t *p, const void *_mesg)
+H5O_refcount_encode(H5F_t UNUSED *f, hbool_t UNUSED disable_shared, uint8_t *p, const void *_mesg)
{
const H5O_refcount_t *refcount = (const H5O_refcount_t *)_mesg;
@@ -271,7 +271,7 @@ H5O_refcount_free(void *mesg)
*/
static herr_t
H5O_refcount_pre_copy_file(H5F_t UNUSED *file_src, const void UNUSED *native_src,
- hbool_t *deleted, const H5O_copy_t *cpy_info, void UNUSED *udata)
+ hbool_t *deleted, const H5O_copy_t UNUSED *cpy_info, void UNUSED *udata)
{
FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5O_refcount_pre_copy_file)