diff options
author | teor <teor@torproject.org> | 2019-03-20 09:46:10 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-03-20 09:46:10 +1000 |
commit | db2ac3b9fe7768e99e1a5d16d1bb4e76776ae72a (patch) | |
tree | a00b1b3fc079b06986b29aec165b4d2d4c19660a /src/or | |
parent | 8bd9b2a6a0c7ab01ef72dd26e04544b00f8c9fa8 (diff) | |
parent | c44ad396f89e755f5a639b382e0a55ed1cbcc177 (diff) | |
download | tor-db2ac3b9fe7768e99e1a5d16d1bb4e76776ae72a.tar.gz tor-db2ac3b9fe7768e99e1a5d16d1bb4e76776ae72a.zip |
Merge remote-tracking branch 'tor-github/pr/774' into maint-0.2.9
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/shared_random_state.c | 4 | ||||
-rw-r--r-- | src/or/shared_random_state.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/or/shared_random_state.c b/src/or/shared_random_state.c index 8438d46404..f27eccafc7 100644 --- a/src/or/shared_random_state.c +++ b/src/or/shared_random_state.c @@ -1007,7 +1007,7 @@ state_query(sr_state_action_t action, sr_state_object_t obj_type, /* Delete the current SRV value from the state freeing it and the value is set * to NULL meaning empty. */ -static void +STATIC void state_del_current_srv(void) { state_query(SR_STATE_ACTION_DEL, SR_STATE_OBJ_CURSRV, NULL, NULL); @@ -1015,7 +1015,7 @@ state_del_current_srv(void) /* Delete the previous SRV value from the state freeing it and the value is * set to NULL meaning empty. */ -static void +STATIC void state_del_previous_srv(void) { state_query(SR_STATE_ACTION_DEL, SR_STATE_OBJ_PREVSRV, NULL, NULL); diff --git a/src/or/shared_random_state.h b/src/or/shared_random_state.h index 43a7f1d284..cf027f2d35 100644 --- a/src/or/shared_random_state.h +++ b/src/or/shared_random_state.h @@ -140,6 +140,8 @@ STATIC int is_phase_transition(sr_phase_t next_phase); STATIC void set_sr_phase(sr_phase_t phase); STATIC sr_state_t *get_sr_state(void); +STATIC void state_del_previous_srv(void); +STATIC void state_del_current_srv(void); #endif /* TOR_UNIT_TESTS */ |