summaryrefslogtreecommitdiff
path: root/lib/timeval.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-10-12 12:32:20 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-10-12 12:32:20 +0000
commit532bca41e59e10a86c356058831cf046a3ba78c9 (patch)
treedfaa7d33d510af6ea4db11724583ca0a26159cf7 /lib/timeval.h
parentb438c46764b680a314000b7ca69bb1d898379d0f (diff)
downloadcurl-532bca41e59e10a86c356058831cf046a3ba78c9.tar.gz
Curl_tvdiff() now returns a millisecond diff, no double like before
Diffstat (limited to 'lib/timeval.h')
-rw-r--r--lib/timeval.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/timeval.h b/lib/timeval.h
index a37852598..84ab79601 100644
--- a/lib/timeval.h
+++ b/lib/timeval.h
@@ -43,7 +43,10 @@ struct timeval {
#endif
struct timeval Curl_tvnow ();
-double Curl_tvdiff (struct timeval t1, struct timeval t2);
+
+/* the diff is from now on returned in number of milliseconds! */
+long Curl_tvdiff (struct timeval t1, struct timeval t2);
+
long Curl_tvlong (struct timeval t1);
#endif