aboutsummaryrefslogtreecommitdiff
path: root/src/feature/relay
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-06-26 08:32:33 -0400
committerNick Mathewson <nickm@torproject.org>2020-06-26 08:32:33 -0400
commitcb25f5772441e6caed4ae8b84300f32de078fe62 (patch)
tree62b74dbc633d86d513afa0c5b6a3315544061c80 /src/feature/relay
parentedb023b1e74dd3b900af399126bd985fc4064857 (diff)
downloadtor-cb25f5772441e6caed4ae8b84300f32de078fe62.tar.gz
tor-cb25f5772441e6caed4ae8b84300f32de078fe62.zip
Remove stub macro for router_new_consensus_params()
I had incorrectly believed that the router.c file was disabled when we were building with relay mode disabled.
Diffstat (limited to 'src/feature/relay')
-rw-r--r--src/feature/relay/router.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/feature/relay/router.h b/src/feature/relay/router.h
index b1f90699a2..4c557b8d0d 100644
--- a/src/feature/relay/router.h
+++ b/src/feature/relay/router.h
@@ -34,7 +34,6 @@ void set_server_identity_key(crypto_pk_t *k);
MOCK_DECL(crypto_pk_t *,get_server_identity_key,(void));
#else
#define get_server_identity_key() (tor_abort_(),NULL)
-#define router_new_consensus_params(c) ((void)(c))
#endif
int server_identity_key_is_set(void);
void set_client_identity_key(crypto_pk_t *k);