aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-03-25 15:27:06 -0400
committerNick Mathewson <nickm@torproject.org>2011-03-25 16:28:37 -0400
commit444e46d96d05c3e12eca02769512c74f2eb16b48 (patch)
tree8022be33173ebd198e25c00dd90eae88ca3f9778 /src/common/util.h
parentfe86be61b6d84fbb442b13aa52139e6a3892dac0 (diff)
downloadtor-444e46d96d05c3e12eca02769512c74f2eb16b48.tar.gz
tor-444e46d96d05c3e12eca02769512c74f2eb16b48.zip
Remove the "fuzzy time" code
It was the start of a neat idea, but it only got used in 3 places, none of which really needed it.
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/common/util.h b/src/common/util.h
index 3736237b32..6b54856743 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -247,16 +247,6 @@ time_t approx_time(void);
void update_approx_time(time_t now);
#endif
-/* Fuzzy time. */
-void ftime_set_maximum_sloppiness(int seconds);
-void ftime_set_estimated_skew(int seconds);
-/* typedef struct ftime_t { time_t earliest; time_t latest; } ftime_t; */
-/* void ftime_get_window(time_t now, ftime_t *ft_out); */
-int ftime_maybe_after(time_t now, time_t when);
-int ftime_maybe_before(time_t now, time_t when);
-int ftime_definitely_after(time_t now, time_t when);
-int ftime_definitely_before(time_t now, time_t when);
-
/* Rate-limiter */
/** A ratelim_t remembers how often an event is occurring, and how often