diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-01-18 15:37:01 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-01-18 15:37:01 -0500 |
commit | 6d03e36fd07eabf90c99e17c0aa3e13271e83fb6 (patch) | |
tree | 467b13961b36b079bede0e13e8c77a1ce3a314db /src/or/entrynodes.h | |
parent | a31a5581eecc900c9e3d7be78ea06a3ea7fe32a3 (diff) | |
download | tor-6d03e36fd07eabf90c99e17c0aa3e13271e83fb6.tar.gz tor-6d03e36fd07eabf90c99e17c0aa3e13271e83fb6.zip |
Remove GS_TYPE_LEGACY
Diffstat (limited to 'src/or/entrynodes.h')
-rw-r--r-- | src/or/entrynodes.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/or/entrynodes.h b/src/or/entrynodes.h index a1ede71971..2fd11cb62c 100644 --- a/src/or/entrynodes.h +++ b/src/or/entrynodes.h @@ -194,8 +194,6 @@ typedef enum guard_selection_type_t { /** Use the normal guard selection algorithm, taking our sample from the * set of filtered nodes. */ GS_TYPE_RESTRICTED, - /** Use the legacy (pre-prop271) guard selection algorithm and fields */ - GS_TYPE_LEGACY, } guard_selection_type_t; /** @@ -548,8 +546,7 @@ STATIC unsigned entry_guards_note_guard_success(guard_selection_t *gs, entry_guard_t *guard, unsigned old_state); STATIC int entry_guard_has_higher_priority(entry_guard_t *a, entry_guard_t *b); -STATIC char *getinfo_helper_format_single_entry_guard(const entry_guard_t *e, - int is_legacy); +STATIC char *getinfo_helper_format_single_entry_guard(const entry_guard_t *e); #endif struct bridge_info_t; |