summaryrefslogtreecommitdiff
path: root/lib/timeval.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/timeval.h')
-rw-r--r--lib/timeval.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/timeval.h b/lib/timeval.h
index 1ee4b3044..81c25e659 100644
--- a/lib/timeval.h
+++ b/lib/timeval.h
@@ -52,10 +52,10 @@ time_t curlx_tvdiff(struct curltime t1, struct curltime t2);
*/
time_t Curl_tvdiff_us(struct curltime newer, struct curltime older);
-/* These two defines below exist to provide the older API for library
- internals only. */
-#define Curl_tvnow() curlx_tvnow()
-#define Curl_tvdiff(x,y) curlx_tvdiff(x,y)
+#ifdef CURLDEBUG
+void curlx_tvnow_set(struct curltime now);
+#endif
+
-#endif /* HEADER_CURL_TIMEVAL_H */
+#endif /* HEADER_CURL_TIMEVAL_H */