aboutsummaryrefslogtreecommitdiff
path: root/src/feature/stats
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2021-03-12 11:40:48 -0500
committerNick Mathewson <nickm@torproject.org>2021-03-12 11:40:48 -0500
commit444233c15ec34b78bba0b03547f0ae70b8e2b918 (patch)
tree934196084833755c33879b4c04faf1eaa6b1bc1d /src/feature/stats
parentb5d08ddc09ec785d81e4043d9f9e2f032c9e49ab (diff)
downloadtor-444233c15ec34b78bba0b03547f0ae70b8e2b918.tar.gz
tor-444233c15ec34b78bba0b03547f0ae70b8e2b918.zip
Run "make autostyle" in advance of new series.
Diffstat (limited to 'src/feature/stats')
-rw-r--r--src/feature/stats/bwhist.h2
-rw-r--r--src/feature/stats/rephist.h2
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) */