summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-10-28 16:36:14 -0400
committerNick Mathewson <nickm@torproject.org>2020-10-28 16:36:14 -0400
commitdf1637600469390cbc9bb3889a7130bfe5e0159e (patch)
tree861df17e6f4e89810965c5b71a9fc8474fc8b434 /src/lib
parent03be7de168ccc1f02cef8c2fe5426823b368cadd (diff)
downloadtor-df1637600469390cbc9bb3889a7130bfe5e0159e.tar.gz
tor-df1637600469390cbc9bb3889a7130bfe5e0159e.zip
Fix duplicate typedef in metrics_store_entry.h
Fixes #40171. Bug not in any released Tor.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/metrics/metrics_store_entry.h4
1 files 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 */