Commit 7a75a106 authored by Nick Mathewson's avatar Nick Mathewson 🍝
Browse files

Fix another duplicate typedef.

Fixes #40177; bugfix on
parent aa852840
o Minor bugfixes (compilation):
- Remove a duplicate typedef in metrics_store.c. Fixes bug 40177;
bugfix on
......@@ -22,7 +22,7 @@
#include "lib/metrics/prometheus.h"
/** A metric store which contains a map of entries. */
typedef struct metrics_store_t {
struct metrics_store_t {
/** Indexed by metrics entry name. An entry is a smartlist_t of one or more
* metrics_store_entry_t allowing for multiple metrics of the same name.
......@@ -31,7 +31,7 @@ typedef struct metrics_store_t {
* One example is an onion service with multiple ports, the port specific
* metrics will have a port value as a label. */
strmap_t *entries;
} metrics_store_t;
/** Function pointer to the format function of a specific driver. */
typedef void (fmt_driver_fn_t)(const metrics_store_entry_t *, buf_t *);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment