diff options
author | George Kadianakis <desnacked@riseup.net> | 2017-08-24 19:32:33 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2017-08-25 14:41:06 +0300 |
commit | e07b677bd9d557d2ab15474ce96c825a5a034a7f (patch) | |
tree | d7e73a240d4fa7c4bc9859c58b436d7da76a3713 /src/or/hs_service.h | |
parent | c980be951157b68e6bd658ce01850e96ce97d422 (diff) | |
download | tor-e07b677bd9d557d2ab15474ce96c825a5a034a7f.tar.gz tor-e07b677bd9d557d2ab15474ce96c825a5a034a7f.zip |
prop224: Move service_desc_hsdirs_changed() and make it static.
That function could be static but needed to be moved to the top.
Diffstat (limited to 'src/or/hs_service.h')
-rw-r--r-- | src/or/hs_service.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/or/hs_service.h b/src/or/hs_service.h index d902e0b2c7..57717fc927 100644 --- a/src/or/hs_service.h +++ b/src/or/hs_service.h @@ -280,10 +280,6 @@ int hs_service_receive_introduce2(origin_circuit_t *circ, void hs_service_intro_circ_has_closed(origin_circuit_t *circ); -int service_desc_hsdirs_changed(const hs_service_t *service, - const hs_service_descriptor_t *desc); - - #ifdef HS_SERVICE_PRIVATE #ifdef TOR_UNIT_TESTS @@ -357,6 +353,9 @@ STATIC void service_desc_schedule_upload(hs_service_descriptor_t *desc, time_t now, int descriptor_changed); +STATIC int service_desc_hsdirs_changed(const hs_service_t *service, + const hs_service_descriptor_t *desc); + #endif /* TOR_UNIT_TESTS */ #endif /* HS_SERVICE_PRIVATE */ |