aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/directory.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/directory.h b/src/or/directory.h
index 9561ad73fa..9c977ea09d 100644
--- a/src/or/directory.h
+++ b/src/or/directory.h
@@ -47,7 +47,6 @@ int directory_must_use_begindir(const or_options_t *options);
* directory we're going to ask for it, how we're going to contact that
* directory, and (in some cases) what to do with it when we're done.
*/
-typedef struct circuit_guard_state_t circuit_guard_state_t;
typedef struct directory_request_t directory_request_t;
directory_request_t *directory_request_new(uint8_t dir_purpose);
void directory_request_free(directory_request_t *req);
@@ -58,7 +57,7 @@ void directory_request_set_dir_addr_port(directory_request_t *req,
void directory_request_set_directory_id_digest(directory_request_t *req,
const char *digest);
void directory_request_set_guard_state(directory_request_t *req,
- circuit_guard_state_t *state);
+ struct circuit_guard_state_t *state);
void directory_request_set_router_purpose(directory_request_t *req,
uint8_t router_purpose);
void directory_request_set_indirection(directory_request_t *req,