summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2011-10-18 20:46:29 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2011-10-18 20:46:29 (GMT)
commitaca9bf5cf3039fa0179067c1ee8877870350e819 (patch)
treebebdb9dd53267471c3dcc00b98d349e6307aa860 /src
parent4efd9af4fa44a920f81936500d859dcb2395ea49 (diff)
downloadhdf5-aca9bf5cf3039fa0179067c1ee8877870350e819.zip
hdf5-aca9bf5cf3039fa0179067c1ee8877870350e819.tar.gz
hdf5-aca9bf5cf3039fa0179067c1ee8877870350e819.tar.bz2
[svn-r21601] Converted some C stdlib functions to use the HD prefix in H5Omtime.c
Tested on local linux (minor change)
Diffstat (limited to 'src')
-rw-r--r--src/H5Omtime.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/H5Omtime.c b/src/H5Omtime.c
index 731d833..2e2c060 100644
--- a/src/H5Omtime.c
+++ b/src/H5Omtime.c
@@ -129,8 +129,8 @@ H5O_mtime_new_decode(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_o
FUNC_ENTER_NOAPI_NOINIT(H5O_mtime_new_decode);
/* check args */
- assert(f);
- assert(p);
+ HDassert(f);
+ HDassert(p);
/* decode */
if(*p++ != H5O_MTIME_VERSION)
@@ -290,9 +290,9 @@ H5O_mtime_new_encode(H5F_t UNUSED *f, hbool_t UNUSED disable_shared, uint8_t *p,
FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5O_mtime_new_encode);
/* check args */
- assert(f);
- assert(p);
- assert(mesg);
+ HDassert(f);
+ HDassert(p);
+ HDassert(mesg);
/* Version */
*p++ = H5O_MTIME_VERSION;
@@ -333,9 +333,9 @@ H5O_mtime_encode(H5F_t UNUSED *f, hbool_t UNUSED disable_shared, uint8_t *p, con
FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5O_mtime_encode);
/* check args */
- assert(f);
- assert(p);
- assert(mesg);
+ HDassert(f);
+ HDassert(p);
+ HDassert(mesg);
/* encode */
tm = HDgmtime(mesg);
@@ -375,7 +375,7 @@ H5O_mtime_copy(const void *_mesg, void *_dest)
FUNC_ENTER_NOAPI_NOINIT(H5O_mtime_copy);
/* check args */
- assert(mesg);
+ HDassert(mesg);
if (!dest && NULL==(dest = H5FL_MALLOC(time_t)))
HGOTO_ERROR (H5E_RESOURCE, H5E_NOSPACE, NULL, "memory allocation failed");
@@ -416,8 +416,8 @@ H5O_mtime_new_size(const H5F_t UNUSED * f, hbool_t UNUSED disable_shared, const
FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5O_mtime_new_size);
/* check args */
- assert(f);
- assert(mesg);
+ HDassert(f);
+ HDassert(mesg);
FUNC_LEAVE_NOAPI(8);
} /* end H5O_mtime_new_size() */
@@ -449,8 +449,8 @@ H5O_mtime_size(const H5F_t UNUSED * f, hbool_t UNUSED disable_shared, const void
FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5O_mtime_size);
/* check args */
- assert(f);
- assert(mesg);
+ HDassert(f);
+ HDassert(mesg);
FUNC_LEAVE_NOAPI(16);
}
@@ -533,17 +533,17 @@ H5O_mtime_debug(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, const void *_mesg, FILE *
FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5O_mtime_debug);
/* check args */
- assert(f);
- assert(mesg);
- assert(stream);
- assert(indent >= 0);
- assert(fwidth >= 0);
+ HDassert(f);
+ HDassert(mesg);
+ HDassert(stream);
+ HDassert(indent >= 0);
+ HDassert(fwidth >= 0);
/* debug */
tm = HDlocaltime(mesg);
HDstrftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S %Z", tm);
- fprintf(stream, "%*s%-*s %s\n", indent, "", fwidth,
+ HDfprintf(stream, "%*s%-*s %s\n", indent, "", fwidth,
"Time:", buf);
FUNC_LEAVE_NOAPI(SUCCEED);