From 4f96974abe40bcb377b9a78f43861f7b78d8002f Mon Sep 17 00:00:00 2001 From: jerenkrantz Date: Mon, 15 Apr 2002 00:01:09 +0000 Subject: Per rename_pendings, rename apr_explode_time to apr_time_exp_tz. (Justin made a few whitespace corrections.) Submitted by: Thom May Reviewed by: Justin Erenkrantz git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63264 13f79535-47bb-0310-9956-ffa450edef68 --- time/unix/time.c | 8 ++++---- time/win32/time.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'time') 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; -- cgit v1.2.1