summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
Diffstat (limited to 'time')
-rw-r--r--time/unix/time.c10
-rw-r--r--time/win32/time.c12
2 files changed, 19 insertions, 3 deletions
diff --git a/time/unix/time.c b/time/unix/time.c
index 2669f30cf..409cc2d15 100644
--- a/time/unix/time.c
+++ b/time/unix/time.c
@@ -203,7 +203,8 @@ APR_DECLARE(apr_status_t) apr_time_exp_get(apr_time_t *t, apr_time_exp_t *xt)
return APR_SUCCESS;
}
-APR_DECLARE(apr_status_t) apr_implode_gmt(apr_time_t *t, apr_time_exp_t *xt)
+APR_DECLARE(apr_status_t) apr_time_exp_gmt_get(apr_time_t *t,
+ apr_time_exp_t *xt)
{
apr_status_t status = apr_time_exp_get(t, xt);
if (status == APR_SUCCESS)
@@ -384,3 +385,10 @@ APR_DECLARE(apr_status_t) apr_explode_localtime(apr_time_exp_t *result,
{
return apr_time_exp_lt(result, input);
}
+
+/* Deprecated */
+APR_DECLARE(apr_status_t) apr_implode_gmt(apr_time_t *t, apr_time_exp_t *xt)
+{
+ return apr_time_exp_gmt_get(t, xt);
+}
+
diff --git a/time/win32/time.c b/time/win32/time.c
index 94d92602e..b79602955 100644
--- a/time/win32/time.c
+++ b/time/win32/time.c
@@ -223,8 +223,8 @@ APR_DECLARE(apr_status_t) apr_time_exp_get(apr_time_t *t,
return APR_SUCCESS;
}
-APR_DECLARE(apr_status_t) apr_implode_gmt(apr_time_t *t,
- apr_time_exp_t *xt)
+APR_DECLARE(apr_status_t) apr_time_exp_gmt_get(apr_time_t *t,
+ apr_time_exp_t *xt)
{
apr_status_t status = apr_time_exp_get(t, xt);
if (status == APR_SUCCESS)
@@ -319,3 +319,11 @@ APR_DECLARE(apr_status_t) apr_explode_localtime(apr_time_exp_t *result,
{
return apr_time_exp_lt(result, input);
}
+
+/* Deprecated */
+APR_DECLARE(apr_status_t) apr_implode_gmt(apr_time_t *t,
+ apr_time_exp_t *xt)
+{
+ return apr_time_exp_gmt_get(t, xt);
+}
+