[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] timers.h: add declaration for timeval.



commit dd5dda78f66c6ab6708cbac898c9f6a2d21162ef
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Mon Dec 16 13:11:06 2019 -0500

    timers.h: add declaration for timeval.
    
    This frees us from some dependencies on include order.
---
 src/lib/evloop/timers.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/evloop/timers.h b/src/lib/evloop/timers.h
index 759555420..f317d0ad0 100644
--- a/src/lib/evloop/timers.h
+++ b/src/lib/evloop/timers.h
@@ -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 *);



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits