summaryrefslogtreecommitdiff
path: root/src/common/timers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/timers.h')
-rw-r--r--src/common/timers.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/timers.h b/src/common/timers.h
index 594cf38a64..2c36af172d 100644
--- a/src/common/timers.h
+++ b/src/common/timers.h
@@ -7,8 +7,9 @@
#include "orconfig.h"
#include "testsupport.h"
+struct monotime_t;
typedef struct timeout tor_timer_t;
-typedef void (*timer_cb_fn_t)(tor_timer_t *, void *, const struct timeval *);
+typedef void (*timer_cb_fn_t)(tor_timer_t *, void *, const struct monotime_t *);
tor_timer_t *timer_new(timer_cb_fn_t cb, void *arg);
void timer_set_cb(tor_timer_t *t, timer_cb_fn_t cb, void *arg);
void timer_schedule(tor_timer_t *t, const struct timeval *delay);