summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorSander Striker <striker@apache.org>2002-03-21 10:03:39 +0000
committerSander Striker <striker@apache.org>2002-03-21 10:03:39 +0000
commit1fb5251ee461f0f6e97620ce09eca6f1dec45896 (patch)
tree98d79818c7abfb27ef5204a918040856fa6bb94d /time
parent719e657946dbb3c6a5234d9ffd8f2543ba711446 (diff)
downloadapr-1fb5251ee461f0f6e97620ce09eca6f1dec45896.tar.gz
Rename apr_explode_gmt to apr_time_exp_gmt.
Submitted by: Thom May <thom@planetarytramp.net> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63175 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'time')
-rw-r--r--time/unix/time.c7
-rw-r--r--time/unix/timestr.c2
-rw-r--r--time/win32/time.c4
-rw-r--r--time/win32/timestr.c2
4 files changed, 8 insertions, 7 deletions
diff --git a/time/unix/time.c b/time/unix/time.c
index c12ecb935..96cf8a009 100644
--- a/time/unix/time.c
+++ b/time/unix/time.c
@@ -146,15 +146,16 @@ 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_explode_time(apr_time_exp_t *result,
+ apr_time_t input, apr_int32_t offs)
{
explode_time(result, input, offs, 0);
result->tm_gmtoff = offs;
return APR_SUCCESS;
}
-APR_DECLARE(apr_status_t) apr_explode_gmt(apr_time_exp_t *result, apr_time_t input)
+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);
}
diff --git a/time/unix/timestr.c b/time/unix/timestr.c
index f056b9c6f..989f48369 100644
--- a/time/unix/timestr.c
+++ b/time/unix/timestr.c
@@ -83,7 +83,7 @@ apr_status_t apr_rfc822_date(char *date_str, apr_time_t t)
const char *s;
int real_year;
- apr_explode_gmt(&xt, t);
+ apr_time_exp_gmt(&xt, t);
/* example: "Sat, 08 Jan 2000 18:31:41 GMT" */
/* 12345678901234567890123456789 */
diff --git a/time/win32/time.c b/time/win32/time.c
index 228628115..31fe28ffd 100644
--- a/time/win32/time.c
+++ b/time/win32/time.c
@@ -146,8 +146,8 @@ APR_DECLARE(apr_time_t) apr_time_now(void)
return aprtime;
}
-APR_DECLARE(apr_status_t) apr_explode_gmt(apr_time_exp_t *result,
- apr_time_t input)
+APR_DECLARE(apr_status_t) apr_time_exp_gmt(apr_time_exp_t *result,
+ apr_time_t input)
{
FILETIME ft;
SYSTEMTIME st;
diff --git a/time/win32/timestr.c b/time/win32/timestr.c
index 1ba9f1b1d..8bfcd84e9 100644
--- a/time/win32/timestr.c
+++ b/time/win32/timestr.c
@@ -71,7 +71,7 @@ APR_DECLARE(apr_status_t) apr_rfc822_date(char *date_str, apr_time_t t)
const char *s;
int real_year;
- apr_explode_gmt(&xt, t);
+ apr_time_exp_gmt(&xt, t);
/* example: "Sat, 08 Jan 2000 18:31:41 GMT" */
/* 12345678901234567890123456789 */