summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorjerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68>2002-04-15 00:01:09 +0000
committerjerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68>2002-04-15 00:01:09 +0000
commit4f96974abe40bcb377b9a78f43861f7b78d8002f (patch)
treed79db08c2ec0642876f26a446eee60d5517c84ba /time
parent00b3bb73edde149b77cde5e301ade0588caf3f97 (diff)
downloadlibapr-4f96974abe40bcb377b9a78f43861f7b78d8002f.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: http://svn.apache.org/repos/asf/apr/apr/trunk@63264 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'time')
-rw-r--r--time/unix/time.c8
-rw-r--r--time/win32/time.c4
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;