diff options
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; |