aboutsummaryrefslogtreecommitdiff
path: root/src/core/proto
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2018-07-12 11:02:22 -0400
committerRoger Dingledine <arma@torproject.org>2018-07-12 11:02:22 -0400
commit0317eb143ec6869e5a27c1ffc6d3d89be4c35c32 (patch)
treeb202bf64aadf3558f7b5939f1b2c7cf9d61df8c6 /src/core/proto
parent4ac87a430f9eddf138b9f686eea1e851f522cead (diff)
downloadtor-0317eb143ec6869e5a27c1ffc6d3d89be4c35c32.tar.gz
tor-0317eb143ec6869e5a27c1ffc6d3d89be4c35c32.zip
Remove a redundant typedef in proto_ext_or.h
Diffstat (limited to 'src/core/proto')
-rw-r--r--src/core/proto/proto_ext_or.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/proto/proto_ext_or.h b/src/core/proto/proto_ext_or.h
index 708a45974b..2ff6ad45ca 100644
--- a/src/core/proto/proto_ext_or.h
+++ b/src/core/proto/proto_ext_or.h
@@ -10,11 +10,11 @@
struct buf_t;
/** A parsed Extended ORPort message. */
-typedef struct ext_or_cmd_t {
+struct ext_or_cmd_t {
uint16_t cmd; /** Command type */
uint16_t len; /** Body length */
char body[FLEXIBLE_ARRAY_MEMBER]; /** Message body */
-} ext_or_cmd_t;
+};
int fetch_ext_or_command_from_buf(struct buf_t *buf,
struct ext_or_cmd_t **out);