Fix duplicate typedef in metrics_store_entry.h

Fixes #40171. Bug not in any released Tor.
This commit is contained in:
Nick Mathewson 2020-10-28 16:36:14 -04:00
parent 03be7de168
commit df16376004

View File

@ -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 */