summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
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 */