From cb25f5772441e6caed4ae8b84300f32de078fe62 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 26 Jun 2020 08:32:33 -0400 Subject: 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. --- src/feature/relay/router.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/feature/relay/router.h') 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); -- cgit v1.2.3-54-g00ecf