diff options
author | Justin Erenkrantz <jerenkrantz@apache.org> | 2002-04-15 00:01:09 +0000 |
---|---|---|
committer | Justin Erenkrantz <jerenkrantz@apache.org> | 2002-04-15 00:01:09 +0000 |
commit | f68e68e0acf65eda2a2ffbf147a9c84d876be2d7 (patch) | |
tree | d79db08c2ec0642876f26a446eee60d5517c84ba /time | |
parent | eee077ff84f98580912709ecce1d943116b989e4 (diff) | |
download | apr-f68e68e0acf65eda2a2ffbf147a9c84d876be2d7.tar.gz |
Per rename_pendings, rename apr_explode_time to apr_time_exp_tz.
(Justin made a few whitespace corrections.)
Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Justin Erenkrantz
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63264 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'time')
-rw-r--r-- | time/unix/time.c | 8 | ||||
-rw-r--r-- | time/win32/time.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/time/unix/time.c b/time/unix/time.c index 70a24df71..9415b98a4 100644 --- a/time/unix/time.c +++ b/time/unix/time.c @@ -146,8 +146,8 @@ static void explode_time(apr_time_exp_t *xt, apr_time_t t, xt->tm_gmtoff = get_offset(&tm); } -APR_DECLARE(apr_status_t) apr_explode_time(apr_time_exp_t *result, - apr_time_t input, apr_int32_t offs) +APR_DECLARE(apr_status_t) apr_time_exp_tz(apr_time_exp_t *result, + apr_time_t input, apr_int32_t offs) { explode_time(result, input, offs, 0); result->tm_gmtoff = offs; @@ -157,7 +157,7 @@ APR_DECLARE(apr_status_t) apr_explode_time(apr_time_exp_t *result, APR_DECLARE(apr_status_t) apr_time_exp_gmt(apr_time_exp_t *result, apr_time_t input) { - return apr_explode_time(result, input, 0); + return apr_time_exp_tz(result, input, 0); } APR_DECLARE(apr_status_t) apr_time_exp_lt(apr_time_exp_t *result, @@ -165,7 +165,7 @@ APR_DECLARE(apr_status_t) apr_time_exp_lt(apr_time_exp_t *result, { #if defined(__EMX__) /* EMX gcc (OS/2) has a timezone global we can use */ - return apr_explode_time(result, input, -timezone); + return apr_time_exp_tz(result, input, -timezone); #else explode_time(result, input, 0, 1); return APR_SUCCESS; diff --git a/time/win32/time.c b/time/win32/time.c index 8a777a176..e188b8a4a 100644 --- a/time/win32/time.c +++ b/time/win32/time.c @@ -158,8 +158,8 @@ APR_DECLARE(apr_status_t) apr_time_exp_gmt(apr_time_exp_t *result, return APR_SUCCESS; } -APR_DECLARE(apr_status_t) apr_explode_time(apr_time_exp_t *result, - apr_time_t input, apr_int32_t offs) +APR_DECLARE(apr_status_t) apr_time_exp_tz(apr_time_exp_t *result, + apr_time_t input, apr_int32_t offs) { FILETIME ft; SYSTEMTIME st; |