summaryrefslogtreecommitdiff
path: root/src/lib/time/tvdiff.h
diff options
context:
space:
mode:
authorrl1987 <rl1987@sdf.lonestar.org>2018-08-19 21:03:01 +0300
committerrl1987 <rl1987@sdf.lonestar.org>2018-08-19 21:03:01 +0300
commit5ab2110eb6b4ae9082430081cb2800018cf0dcd6 (patch)
treeacbc56ab18bdbf19362ab7341c363828c006c8df /src/lib/time/tvdiff.h
parente0b8c53f56441eb0a8d9ebc5d579b520a31291c6 (diff)
downloadtor-5ab2110eb6b4ae9082430081cb2800018cf0dcd6.tar.gz
tor-5ab2110eb6b4ae9082430081cb2800018cf0dcd6.zip
Rework predicted_ports_prediction_time_remaining() to fix CID 1438153
Diffstat (limited to 'src/lib/time/tvdiff.h')
-rw-r--r--src/lib/time/tvdiff.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/time/tvdiff.h b/src/lib/time/tvdiff.h
index d78330d7d8..a15ce52ad6 100644
--- a/src/lib/time/tvdiff.h
+++ b/src/lib/time/tvdiff.h
@@ -18,4 +18,6 @@ long tv_udiff(const struct timeval *start, const struct timeval *end);
long tv_mdiff(const struct timeval *start, const struct timeval *end);
int64_t tv_to_msec(const struct timeval *tv);
+time_t time_diff(const time_t from, const time_t to);
+
#endif