From 6d03e36fd07eabf90c99e17c0aa3e13271e83fb6 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 18 Jan 2017 15:37:01 -0500 Subject: Remove GS_TYPE_LEGACY --- src/or/entrynodes.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/or/entrynodes.h') 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; -- cgit v1.2.3-54-g00ecf