From 1d44ac9acd6264141615b5fce6d537544dc6f52e Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 26 Apr 2019 10:36:49 -0400 Subject: Make nodelist_get_list() return a const pointer. --- src/feature/nodelist/nodelist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/feature/nodelist/nodelist.h') diff --git a/src/feature/nodelist/nodelist.h b/src/feature/nodelist/nodelist.h index a3d65347a8..84ab5f7a54 100644 --- a/src/feature/nodelist/nodelist.h +++ b/src/feature/nodelist/nodelist.h @@ -101,7 +101,7 @@ const struct curve25519_public_key_t *node_get_curve25519_onion_key( const node_t *node); crypto_pk_t *node_get_rsa_onion_key(const node_t *node); -MOCK_DECL(smartlist_t *, nodelist_get_list, (void)); +MOCK_DECL(const smartlist_t *, nodelist_get_list, (void)); /* Temporary during transition to multiple addresses. */ void node_get_addr(const node_t *node, tor_addr_t *addr_out); -- cgit v1.2.3-54-g00ecf