summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2016-12-11 19:46:32 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2016-12-11 19:46:32 (GMT)
commit652e02db4ee67fb5546050078487fca5794d8f39 (patch)
tree54ccf2d78a98bdebcb7a4fdd46cd4c50bf78c377
parentcc6eb939f4dec06e234835acbb5b3bc269b228c5 (diff)
downloadhdf5-652e02db4ee67fb5546050078487fca5794d8f39.zip
hdf5-652e02db4ee67fb5546050078487fca5794d8f39.tar.gz
hdf5-652e02db4ee67fb5546050078487fca5794d8f39.tar.bz2
Removed NDEBUG guards from H5AC test functions.
H5AC_dump_cache() is now used in test/cache_tagging.c and the underlying H5C functions are not protected by NDEBUG guards.
-rw-r--r--src/H5ACdbg.c2
-rw-r--r--src/H5ACprivate.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/H5ACdbg.c b/src/H5ACdbg.c
index 3830606..6120242 100644
--- a/src/H5ACdbg.c
+++ b/src/H5ACdbg.c
@@ -72,7 +72,6 @@
/*******************/
-#ifndef NDEBUG /* debugging functions */
/*-------------------------------------------------------------------------
* Function: H5AC_stats
@@ -134,7 +133,6 @@ H5AC_dump_cache(const H5F_t *f)
done:
FUNC_LEAVE_NOAPI(ret_value)
} /* H5AC_dump_cache() */
-#endif /* NDEBUG */
/*-------------------------------------------------------------------------
diff --git a/src/H5ACprivate.h b/src/H5ACprivate.h
index bbaa614..48b7c6b 100644
--- a/src/H5ACprivate.h
+++ b/src/H5ACprivate.h
@@ -419,10 +419,8 @@ H5_DLL herr_t H5AC_add_candidate(H5AC_t * cache_ptr, haddr_t addr);
#endif /* H5_HAVE_PARALLEL */
/* Debugging functions */
-#ifndef NDEBUG
H5_DLL herr_t H5AC_stats(const H5F_t *f);
H5_DLL herr_t H5AC_dump_cache(const H5F_t *f);
-#endif /* NDEBUG */ /* end debugging functions */
#endif /* !_H5ACprivate_H */