commit cfe0a45750341c33f6f523f7eec734a7b551ad25 Author: Nick Mathewson nickm@torproject.org Date: Mon May 22 10:39:43 2017 -0400
Fix a compilation warning about duplicate typedef --- src/or/directory.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/or/directory.h b/src/or/directory.h index 9561ad7..9c977ea 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,
tor-commits@lists.torproject.org