summaryrefslogtreecommitdiffstats
path: root/src/H5Omtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Omtime.c')
-rw-r--r--src/H5Omtime.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/H5Omtime.c b/src/H5Omtime.c
index 731d833..e719e08 100644
--- a/src/H5Omtime.c
+++ b/src/H5Omtime.c
@@ -126,7 +126,7 @@ H5O_mtime_new_decode(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_o
uint32_t tmp_time; /* Temporary copy of the time */
void *ret_value; /* Return value */
- FUNC_ENTER_NOAPI_NOINIT(H5O_mtime_new_decode);
+ FUNC_ENTER_NOAPI_NOINIT
/* check args */
assert(f);
@@ -151,7 +151,7 @@ H5O_mtime_new_decode(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_o
ret_value=mesg;
done:
- FUNC_LEAVE_NOAPI(ret_value);
+ FUNC_LEAVE_NOAPI(ret_value)
} /* end H5O_mtime_new_decode() */
@@ -180,7 +180,7 @@ H5O_mtime_decode(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_oh,
struct tm tm;
void *ret_value; /* Return value */
- FUNC_ENTER_NOAPI_NOINIT(H5O_mtime_decode)
+ FUNC_ENTER_NOAPI_NOINIT
/* check args */
HDassert(f);
@@ -287,7 +287,7 @@ H5O_mtime_new_encode(H5F_t UNUSED *f, hbool_t UNUSED disable_shared, uint8_t *p,
{
const time_t *mesg = (const time_t *) _mesg;
- FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5O_mtime_new_encode);
+ FUNC_ENTER_NOAPI_NOINIT_NOERR
/* check args */
assert(f);
@@ -305,7 +305,7 @@ H5O_mtime_new_encode(H5F_t UNUSED *f, hbool_t UNUSED disable_shared, uint8_t *p,
/* Encode time */
UINT32ENCODE(p, *mesg);
- FUNC_LEAVE_NOAPI(SUCCEED);
+ FUNC_LEAVE_NOAPI(SUCCEED)
} /* end H5O_mtime_new_encode() */
@@ -330,7 +330,7 @@ H5O_mtime_encode(H5F_t UNUSED *f, hbool_t UNUSED disable_shared, uint8_t *p, con
const time_t *mesg = (const time_t *) _mesg;
struct tm *tm;
- FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5O_mtime_encode);
+ FUNC_ENTER_NOAPI_NOINIT_NOERR
/* check args */
assert(f);
@@ -343,7 +343,7 @@ H5O_mtime_encode(H5F_t UNUSED *f, hbool_t UNUSED disable_shared, uint8_t *p, con
1900+tm->tm_year, 1+tm->tm_mon, tm->tm_mday,
tm->tm_hour, tm->tm_min, tm->tm_sec);
- FUNC_LEAVE_NOAPI(SUCCEED);
+ FUNC_LEAVE_NOAPI(SUCCEED)
}
@@ -372,7 +372,7 @@ H5O_mtime_copy(const void *_mesg, void *_dest)
time_t *dest = (time_t *) _dest;
void *ret_value; /* Return value */
- FUNC_ENTER_NOAPI_NOINIT(H5O_mtime_copy);
+ FUNC_ENTER_NOAPI_NOINIT
/* check args */
assert(mesg);
@@ -386,7 +386,7 @@ H5O_mtime_copy(const void *_mesg, void *_dest)
ret_value=dest;
done:
- FUNC_LEAVE_NOAPI(ret_value);
+ FUNC_LEAVE_NOAPI(ret_value)
}
@@ -413,13 +413,13 @@ done:
static size_t
H5O_mtime_new_size(const H5F_t UNUSED * f, hbool_t UNUSED disable_shared, const void UNUSED * mesg)
{
- FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5O_mtime_new_size);
+ FUNC_ENTER_NOAPI_NOINIT_NOERR
/* check args */
assert(f);
assert(mesg);
- FUNC_LEAVE_NOAPI(8);
+ FUNC_LEAVE_NOAPI(8)
} /* end H5O_mtime_new_size() */
@@ -446,13 +446,13 @@ H5O_mtime_new_size(const H5F_t UNUSED * f, hbool_t UNUSED disable_shared, const
static size_t
H5O_mtime_size(const H5F_t UNUSED * f, hbool_t UNUSED disable_shared, const void UNUSED * mesg)
{
- FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5O_mtime_size);
+ FUNC_ENTER_NOAPI_NOINIT_NOERR
/* check args */
assert(f);
assert(mesg);
- FUNC_LEAVE_NOAPI(16);
+ FUNC_LEAVE_NOAPI(16)
}
@@ -474,9 +474,9 @@ H5O_mtime_size(const H5F_t UNUSED * f, hbool_t UNUSED disable_shared, const void
static herr_t
H5O_mtime_reset(void UNUSED *_mesg)
{
- FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5O_mtime_reset);
+ FUNC_ENTER_NOAPI_NOINIT_NOERR
- FUNC_LEAVE_NOAPI(SUCCEED);
+ FUNC_LEAVE_NOAPI(SUCCEED)
}
@@ -497,7 +497,7 @@ H5O_mtime_reset(void UNUSED *_mesg)
static herr_t
H5O_mtime_free(void *mesg)
{
- FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5O_mtime_free)
+ FUNC_ENTER_NOAPI_NOINIT_NOERR
HDassert(mesg);
@@ -530,7 +530,7 @@ H5O_mtime_debug(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, const void *_mesg, FILE *
struct tm *tm;
char buf[128];
- FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5O_mtime_debug);
+ FUNC_ENTER_NOAPI_NOINIT_NOERR
/* check args */
assert(f);
@@ -546,6 +546,6 @@ H5O_mtime_debug(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, const void *_mesg, FILE *
fprintf(stream, "%*s%-*s %s\n", indent, "", fwidth,
"Time:", buf);
- FUNC_LEAVE_NOAPI(SUCCEED);
+ FUNC_LEAVE_NOAPI(SUCCEED)
}