From 195ccce94e250a150e208f7a8fb9ba8375b6fe89 Mon Sep 17 00:00:00 2001 From: "Chelsea H. Komlo" Date: Sat, 8 Oct 2016 19:28:38 -0500 Subject: Refactor to use purpose_needs_anonymity and remove is_sensitive_dir_purpose --- src/or/directory.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/or/directory.h') diff --git a/src/or/directory.h b/src/or/directory.h index 9477948aa0..f04e7ab315 100644 --- a/src/or/directory.h +++ b/src/or/directory.h @@ -132,10 +132,7 @@ int download_status_get_n_failures(const download_status_t *dls); int download_status_get_n_attempts(const download_status_t *dls); time_t download_status_get_next_attempt_at(const download_status_t *dls); -/* Yes, these two functions are confusingly similar. - * Let's sort that out in #20077. */ int purpose_needs_anonymity(uint8_t dir_purpose, uint8_t router_purpose); -int is_sensitive_dir_purpose(uint8_t dir_purpose); #ifdef TOR_UNIT_TESTS /* Used only by directory.c and test_dir.c */ -- cgit v1.2.3-54-g00ecf