aboutsummaryrefslogtreecommitdiff
path: root/src/feature/stats/rephist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/feature/stats/rephist.c')
-rw-r--r--src/feature/stats/rephist.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/feature/stats/rephist.c b/src/feature/stats/rephist.c
index 2588bb4c00..a2dbb0ff16 100644
--- a/src/feature/stats/rephist.c
+++ b/src/feature/stats/rephist.c
@@ -74,6 +74,7 @@
* (The "rephist" name originally stood for "reputation and history". )
**/
+#define REPHIST_PRIVATE
#include "core/or/or.h"
#include "core/or/circuitlist.h"
#include "core/or/circuituse.h"
@@ -106,11 +107,6 @@
static void bw_arrays_init(void);
static void predicted_ports_alloc(void);
-typedef struct bw_array_t bw_array_t;
-STATIC uint64_t find_largest_max(bw_array_t *b);
-STATIC void commit_max(bw_array_t *b);
-STATIC void advance_obs(bw_array_t *b);
-
/** Total number of bytes currently allocated in fields used by rephist.c. */
uint64_t rephist_total_alloc=0;
/** Number of or_history_t objects currently allocated. */