From 02843c4a4e2fab9c5d9cdb95c425c37ff3d1a4ae Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 19 Nov 2018 16:31:50 -0500 Subject: Test for check_network_participation_callback() --- src/feature/hs/hs_service.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/feature/hs/hs_service.h') diff --git a/src/feature/hs/hs_service.h b/src/feature/hs/hs_service.h index a8a9faaea9..be1155bcd1 100644 --- a/src/feature/hs/hs_service.h +++ b/src/feature/hs/hs_service.h @@ -310,7 +310,7 @@ hs_service_t *hs_service_new(const or_options_t *options); void hs_service_free_(hs_service_t *service); #define hs_service_free(s) FREE_AND_NULL(hs_service_t, hs_service_free_, (s)) -unsigned int hs_service_get_num_services(void); +MOCK_DECL(unsigned int, hs_service_get_num_services,(void)); void hs_service_stage_services(const smartlist_t *service_list); int hs_service_load_all_keys(void); int hs_service_get_version_from_key(const hs_service_t *service); -- cgit v1.2.3-54-g00ecf