diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-01 11:32:11 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-01 15:20:37 -0400 |
commit | 471104eaa5e7fbe1b5a32b8be388daae328abd4a (patch) | |
tree | 65ff6d32af5b8713009db5b067fb3bd5fddeb076 /src/or/main.h | |
parent | 7a61a92870df84c37bacd9d065e0c8df2b938d37 (diff) | |
download | tor-471104eaa5e7fbe1b5a32b8be388daae328abd4a.tar.gz tor-471104eaa5e7fbe1b5a32b8be388daae328abd4a.zip |
Remove needless includes from or.h
or.h should really include only the minimum of stuff from or/*,
common/*, and lib/*.
Diffstat (limited to 'src/or/main.h')
-rw-r--r-- | src/or/main.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/or/main.h b/src/or/main.h index 214a9b3b0a..90146f4bd4 100644 --- a/src/or/main.h +++ b/src/or/main.h @@ -96,10 +96,12 @@ uint64_t get_main_loop_idle_count(void); void periodic_events_on_new_options(const or_options_t *options); void reschedule_per_second_timer(void); +struct token_bucket_rw_t; + extern time_t time_of_process_start; extern int quiet_level; -extern token_bucket_rw_t global_bucket; -extern token_bucket_rw_t global_relayed_bucket; +extern struct token_bucket_rw_t global_bucket; +extern struct token_bucket_rw_t global_relayed_bucket; #ifdef MAIN_PRIVATE STATIC void init_connection_lists(void); @@ -118,4 +120,3 @@ extern periodic_event_item_t periodic_events[]; #endif /* defined(MAIN_PRIVATE) */ #endif /* !defined(TOR_MAIN_H) */ - |