tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit df1637600469390cbc9bb3889a7130bfe5e0159e
parent 03be7de168ccc1f02cef8c2fe5426823b368cadd
Author: Nick Mathewson <nickm@torproject.org>
Date:   Wed, 28 Oct 2020 16:36:14 -0400

Fix duplicate typedef in metrics_store_entry.h

Fixes #40171. Bug not in any released Tor.

Diffstat:
Msrc/lib/metrics/metrics_store_entry.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/metrics/metrics_store_entry.h b/src/lib/metrics/metrics_store_entry.h @@ -17,7 +17,7 @@ /** Metrics store entry. They reside in a metrics_store_t object and are * opaque to the outside world. */ -typedef struct metrics_store_entry_t { +struct metrics_store_entry_t { /** Type of entry. */ metrics_type_t type; @@ -38,7 +38,7 @@ typedef struct metrics_store_entry_t { metrics_counter_t counter; metrics_gauge_t gauge; } u; -} metrics_store_entry_t; +}; #endif /* METRICS_STORE_ENTRY_PRIVATE */