From 39d4e67be8283b2a7141a7aa8342d30e27f47e6f Mon Sep 17 00:00:00 2001 From: Andrea Shepard Date: Mon, 12 May 2014 18:23:34 -0700 Subject: Add --disable-mempools configure option --- src/or/relay.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/or/relay.h') diff --git a/src/or/relay.h b/src/or/relay.h index 9c0e21c14f..479d474b35 100644 --- a/src/or/relay.h +++ b/src/or/relay.h @@ -42,9 +42,11 @@ extern uint64_t stats_n_data_bytes_packaged; extern uint64_t stats_n_data_cells_received; extern uint64_t stats_n_data_bytes_received; +#ifdef ENABLE_MEMPOOLS void init_cell_pool(void); void free_cell_pool(void); void clean_cell_pool(void); +#endif /* ENABLE_MEMPOOLS */ void dump_cell_pool_usage(int severity); size_t packed_cell_mem_cost(void); -- cgit v1.2.3-54-g00ecf