diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-05-22 10:39:43 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-05-22 10:39:43 -0400 |
commit | cfe0a45750341c33f6f523f7eec734a7b551ad25 (patch) | |
tree | 2456cf1c2b699d541cdce11608cd912bfff00796 | |
parent | e5a929fef8df61b41b0f2e4a12bbcbe8d931a5cf (diff) | |
download | tor-cfe0a45750341c33f6f523f7eec734a7b551ad25.tar.gz tor-cfe0a45750341c33f6f523f7eec734a7b551ad25.zip |
Fix a compilation warning about duplicate typedef
-rw-r--r-- | src/or/directory.h | 3 |
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, |