summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2002-06-08 20:04:26 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2002-06-08 20:04:26 +0000
commita8f7ab98e29f2b17cdf7d94b6c6c8efed0e24c17 (patch)
tree2aaf9b88c657b57e87e561e34894ca39f016450b /time
parent963e35a5e8b11f8490f81335869deb721103606f (diff)
downloadlibapr-a8f7ab98e29f2b17cdf7d94b6c6c8efed0e24c17.tar.gz
Revert bogusness by providing proper stubs for functions that existed
since the first indirect APR release [APACHE_2_0_35]. Fortunately, these appear to be the only bogusness detected between _35 and _36, and _37 must follow suit with stubs for newly deprecated symbols. Of course all stubs fall out with 1.0.0, which I picture Apache adopting with stronger version controls in APACHE_2_1_x, but we will see what concensus each project adopts between now and then. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63475 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'time')
-rw-r--r--time/unix/time.c15
-rw-r--r--time/win32/time.c15
2 files changed, 30 insertions, 0 deletions
diff --git a/time/unix/time.c b/time/unix/time.c
index 9415b98a4..65b82b0aa 100644
--- a/time/unix/time.c
+++ b/time/unix/time.c
@@ -363,3 +363,18 @@ APR_DECLARE(void) apr_unix_setup_time(void)
}
#endif
+
+/* Deprecated */
+APR_DECLARE(apr_status_t) apr_explode_time(apr_time_exp_t *result,
+ apr_time_t input,
+ apr_int32_t offs)
+{
+ return apr_time_exp_tz(result, input, offs);
+}
+
+/* Deprecated */
+APR_DECLARE(apr_status_t) apr_explode_localtime(apr_time_exp_t *result,
+ apr_time_t input)
+{
+ return apr_time_exp_lt(result, input);
+}
diff --git a/time/win32/time.c b/time/win32/time.c
index d8b0c4cf3..d10935829 100644
--- a/time/win32/time.c
+++ b/time/win32/time.c
@@ -279,3 +279,18 @@ APR_DECLARE(void) apr_sleep(apr_interval_time_t t)
*/
Sleep((DWORD)(t / 1000));
}
+
+/* Deprecated */
+APR_DECLARE(apr_status_t) apr_explode_time(apr_time_exp_t *result,
+ apr_time_t input,
+ apr_int32_t offs)
+{
+ return apr_time_exp_tz(result, input, offs);
+}
+
+/* Deprecated */
+APR_DECLARE(apr_status_t) apr_explode_localtime(apr_time_exp_t *result,
+ apr_time_t input)
+{
+ return apr_time_exp_lt(result, input);
+}