[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Fix duplicate typedef in metrics_store_entry.h
commit df1637600469390cbc9bb3889a7130bfe5e0159e
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Wed Oct 28 16:36:14 2020 -0400
Fix duplicate typedef in metrics_store_entry.h
Fixes #40171. Bug not in any released Tor.
---
src/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
index 6fff9d10eb..8e8a8f3917 100644
--- 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 */
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits