summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorstriker <striker@13f79535-47bb-0310-9956-ffa450edef68>2002-04-13 12:00:07 +0000
committerstriker <striker@13f79535-47bb-0310-9956-ffa450edef68>2002-04-13 12:00:07 +0000
commit6a4492b9fdbcccb9033db16c89fb967c6e7e5201 (patch)
tree7b11d1b1caaa214fd6ecf558d54e8a1ec3bd75b1 /time
parentec424d674de45b6c239653c3393ed765725774e8 (diff)
downloadlibapr-6a4492b9fdbcccb9033db16c89fb967c6e7e5201.tar.gz
Rename apr_explode_localtime to apr_time_exp_lt.
Submitted by: Thom May <thom@planetarytramp.net> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63256 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'time')
-rw-r--r--time/unix/time.c2
-rw-r--r--time/unix/timestr.c2
-rw-r--r--time/win32/time.c2
-rw-r--r--time/win32/timestr.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/time/unix/time.c b/time/unix/time.c
index 8e6e448b2..70a24df71 100644
--- a/time/unix/time.c
+++ b/time/unix/time.c
@@ -160,7 +160,7 @@ APR_DECLARE(apr_status_t) apr_time_exp_gmt(apr_time_exp_t *result,
return apr_explode_time(result, input, 0);
}
-APR_DECLARE(apr_status_t) apr_explode_localtime(apr_time_exp_t *result,
+APR_DECLARE(apr_status_t) apr_time_exp_lt(apr_time_exp_t *result,
apr_time_t input)
{
#if defined(__EMX__)
diff --git a/time/unix/timestr.c b/time/unix/timestr.c
index 989f48369..a3ff324c9 100644
--- a/time/unix/timestr.c
+++ b/time/unix/timestr.c
@@ -134,7 +134,7 @@ apr_status_t apr_ctime(char *date_str, apr_time_t t)
/* example: "Wed Jun 30 21:49:08 1993" */
/* 123456789012345678901234 */
- apr_explode_localtime(&xt, t);
+ apr_time_exp_lt(&xt, t);
s = &apr_day_snames[xt.tm_wday][0];
*date_str++ = *s++;
*date_str++ = *s++;
diff --git a/time/win32/time.c b/time/win32/time.c
index 31fe28ffd..8a777a176 100644
--- a/time/win32/time.c
+++ b/time/win32/time.c
@@ -171,7 +171,7 @@ APR_DECLARE(apr_status_t) apr_explode_time(apr_time_exp_t *result,
return APR_SUCCESS;
}
-APR_DECLARE(apr_status_t) apr_explode_localtime(apr_time_exp_t *result,
+APR_DECLARE(apr_status_t) apr_time_exp_lt(apr_time_exp_t *result,
apr_time_t input)
{
SYSTEMTIME st;
diff --git a/time/win32/timestr.c b/time/win32/timestr.c
index 8bfcd84e9..c78e6a1d9 100644
--- a/time/win32/timestr.c
+++ b/time/win32/timestr.c
@@ -122,7 +122,7 @@ APR_DECLARE(apr_status_t) apr_ctime(char *date_str, apr_time_t t)
/* example: "Wed Jun 30 21:49:08 1993" */
/* 123456789012345678901234 */
- apr_explode_localtime(&xt, t);
+ apr_time_exp_lt(&xt, t);
s = &apr_day_snames[xt.tm_wday][0];
*date_str++ = *s++;
*date_str++ = *s++;