summaryrefslogtreecommitdiff
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
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
-rw-r--r--include/apr_time.h2
-rw-r--r--renames_pending1
-rw-r--r--test/testtime.c2
-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
7 files changed, 6 insertions, 7 deletions
diff --git a/include/apr_time.h b/include/apr_time.h
index 9aaf188dc..213175231 100644
--- a/include/apr_time.h
+++ b/include/apr_time.h
@@ -166,7 +166,7 @@ APR_DECLARE(apr_status_t) apr_time_exp_gmt(apr_time_exp_t *result,
* @param result the exploded time
* @param input the time to explode
*/
-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);
/**
diff --git a/renames_pending b/renames_pending
index 8d93f2657..2615e8602 100644
--- a/renames_pending
+++ b/renames_pending
@@ -1,6 +1,5 @@
Symbol renames for APR
-apr_time_exp_lt from apr_explode_localtime
apr_time_exp_tz from apr_explode_time
apr_group_name_get from apr_get_groupname
diff --git a/test/testtime.c b/test/testtime.c
index 095ad9da5..1a96449e9 100644
--- a/test/testtime.c
+++ b/test/testtime.c
@@ -85,7 +85,7 @@ int main(void)
STD_TEST_NEQ(" apr_time_exp_gmt", apr_time_exp_gmt(&xt, now))
- STD_TEST_NEQ(" apr_explode_localtime", apr_explode_localtime(&xt2, now))
+ STD_TEST_NEQ(" apr_time_exp_lt", apr_time_exp_lt(&xt2, now))
STD_TEST_NEQ(" apr_time_exp_get (GMT)", apr_time_exp_get(&imp, &xt))
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++;