diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-09-15 16:24:44 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-09-15 16:24:44 -0400 |
commit | c1deabd3b0c9e2701696afc80ac8392f0efda2c7 (patch) | |
tree | e9aa0dcc25f1687fac2d2de764c22693c75e20cf /src/or/scheduler.h | |
parent | 7a597718bb9cda3dd553c2b12fd42f04ead44c85 (diff) | |
download | tor-c1deabd3b0c9e2701696afc80ac8392f0efda2c7.tar.gz tor-c1deabd3b0c9e2701696afc80ac8392f0efda2c7.zip |
Run our #else/#endif annotator on our source code.
Diffstat (limited to 'src/or/scheduler.h')
-rw-r--r-- | src/or/scheduler.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/scheduler.h b/src/or/scheduler.h index 98c3599817..3c0748fa68 100644 --- a/src/or/scheduler.h +++ b/src/or/scheduler.h @@ -149,7 +149,7 @@ extern smartlist_t *channels_pending; extern struct event *run_sched_ev; extern const scheduler_t *the_scheduler; void scheduler_touch_channel(channel_t *chan); -#endif /* TOR_UNIT_TESTS */ +#endif /* defined(TOR_UNIT_TESTS) */ /********************************* * Defined in scheduler_kist.c @@ -190,7 +190,7 @@ int32_t kist_scheduler_run_interval(const networkstatus_t *ns); extern int32_t sched_run_interval; #endif /* TOR_UNIT_TESTS */ -#endif /* SCHEDULER_KIST_PRIVATE */ +#endif /* defined(SCHEDULER_KIST_PRIVATE) */ /********************************* * Defined in scheduler_vanilla.c @@ -198,7 +198,7 @@ extern int32_t sched_run_interval; scheduler_t *get_vanilla_scheduler(void); -#endif /* SCHEDULER_PRIVATE_ */ +#endif /* defined(SCHEDULER_PRIVATE_) */ -#endif /* TOR_SCHEDULER_H */ +#endif /* !defined(TOR_SCHEDULER_H) */ |