From 2c6f2e9be9db6d3889a0756be93d7203888eaa72 Mon Sep 17 00:00:00 2001 From: George Kadianakis Date: Thu, 3 Aug 2017 16:03:30 +0300 Subject: Constify functions that can be constified. --- src/or/hs_service.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/or/hs_service.c') diff --git a/src/or/hs_service.c b/src/or/hs_service.c index b46fd6329d..592b1f2552 100644 --- a/src/or/hs_service.c +++ b/src/or/hs_service.c @@ -2048,8 +2048,8 @@ update_revision_counters_in_state(void) * counter. Else set service_found_out to False. */ STATIC uint64_t check_state_line_for_service_rev_counter(const char *state_line, - ed25519_public_key_t *blinded_pubkey, - int *service_found_out) + const ed25519_public_key_t *blinded_pubkey, + int *service_found_out) { smartlist_t *items = NULL; int ok; @@ -2111,7 +2111,7 @@ check_state_line_for_service_rev_counter(const char *state_line, * service with blinded key blinded_pubkey. If no revision counter is * found, return 0. */ static uint64_t -get_rev_counter_for_service(ed25519_public_key_t *blinded_pubkey) +get_rev_counter_for_service(const ed25519_public_key_t *blinded_pubkey) { or_state_t *state = get_or_state(); config_line_t *line; -- cgit v1.2.3-54-g00ecf