timers.h: add declaration for timeval.

This frees us from some dependencies on include order.
This commit is contained in:
Nick Mathewson 2019-12-16 13:11:06 -05:00
parent 25354171b5
commit dd5dda78f6

View File

@ -13,6 +13,7 @@
#include "lib/testsupport/testsupport.h"
struct monotime_t;
struct timeval;
typedef struct timeout tor_timer_t;
typedef void (*timer_cb_fn_t)(tor_timer_t *, void *,
const struct monotime_t *);