diff options
Diffstat (limited to 'src/feature/stats')
-rw-r--r-- | src/feature/stats/bwhist.h | 2 | ||||
-rw-r--r-- | src/feature/stats/rephist.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/stats/bwhist.h b/src/feature/stats/bwhist.h index dc46a7665a..e7fc60fdee 100644 --- a/src/feature/stats/bwhist.h +++ b/src/feature/stats/bwhist.h @@ -38,7 +38,7 @@ STATIC void add_obs(bw_array_t *b, time_t when, uint64_t n); STATIC void bw_array_free_(bw_array_t *b); STATIC size_t bwhist_fill_bandwidth_history(char *buf, size_t len, const bw_array_t *b); -#endif /* defined(REPHIST_PRIVATE) */ +#endif /* defined(BWHIST_PRIVATE) */ #ifdef TOR_UNIT_TESTS extern struct bw_array_t *write_array; diff --git a/src/feature/stats/rephist.h b/src/feature/stats/rephist.h index 14ab3e7666..26fb207d6f 100644 --- a/src/feature/stats/rephist.h +++ b/src/feature/stats/rephist.h @@ -145,6 +145,6 @@ struct hs_v2_stats_t; const struct hs_v2_stats_t *rep_hist_get_hs_v2_stats(void); struct hs_v3_stats_t; const struct hs_v3_stats_t *rep_hist_get_hs_v3_stats(void); -#endif +#endif /* defined(TOR_UNIT_TESTS) */ #endif /* !defined(TOR_REPHIST_H) */ |