summaryrefslogtreecommitdiff
path: root/pjlib/src/pj/os_time_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'pjlib/src/pj/os_time_common.c')
-rw-r--r--pjlib/src/pj/os_time_common.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/pjlib/src/pj/os_time_common.c b/pjlib/src/pj/os_time_common.c
index 5fffe948..331116bc 100644
--- a/pjlib/src/pj/os_time_common.c
+++ b/pjlib/src/pj/os_time_common.c
@@ -18,6 +18,8 @@
*/
#include <pj/os.h>
#include <pj/compat/time.h>
+#include <pj/errno.h>
+
///////////////////////////////////////////////////////////////////////////////
@@ -65,11 +67,19 @@ PJ_DEF(pj_status_t) pj_time_encode(const pj_parsed_time *pt, pj_time_val *tv)
/**
* Convert local time to GMT.
*/
-PJ_DEF(pj_status_t) pj_time_local_to_gmt(pj_time_val *tv);
+PJ_DEF(pj_status_t) pj_time_local_to_gmt(pj_time_val *tv)
+{
+ PJ_UNUSED_ARG(tv);
+ return PJ_EBUG;
+}
/**
* Convert GMT to local time.
*/
-PJ_DEF(pj_status_t) pj_time_gmt_to_local(pj_time_val *tv);
+PJ_DEF(pj_status_t) pj_time_gmt_to_local(pj_time_val *tv)
+{
+ PJ_UNUSED_ARG(tv);
+ return PJ_EBUG;
+}