diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-12 10:35:29 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-12 10:35:29 -0400 |
commit | 4ac87a430f9eddf138b9f686eea1e851f522cead (patch) | |
tree | 8ce00f63d053e8630a2595e78d9af87cdc72f25d | |
parent | 23cb9a046ce13b4203b76e77348837610b5c885d (diff) | |
download | tor-4ac87a430f9eddf138b9f686eea1e851f522cead.tar.gz tor-4ac87a430f9eddf138b9f686eea1e851f522cead.zip |
Remove a redundant typedef in addr_policy_st.h
-rw-r--r-- | src/core/or/addr_policy_st.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/or/addr_policy_st.h b/src/core/or/addr_policy_st.h index be3e9d8f01..222a067252 100644 --- a/src/core/or/addr_policy_st.h +++ b/src/core/or/addr_policy_st.h @@ -18,7 +18,7 @@ typedef enum { #define addr_policy_action_bitfield_t ENUM_BF(addr_policy_action_t) /** A reference-counted address policy rule. */ -typedef struct addr_policy_t { +struct addr_policy_t { int refcnt; /**< Reference count */ /** What to do when the policy matches.*/ addr_policy_action_bitfield_t policy_type:2; @@ -41,6 +41,6 @@ typedef struct addr_policy_t { tor_addr_t addr; uint16_t prt_min; /**< Lowest port number to accept/reject. */ uint16_t prt_max; /**< Highest port number to accept/reject. */ -} addr_policy_t; +}; #endif |