]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Remove a redundant typedef in proto_ext_or.h
authorRoger Dingledine <arma@torproject.org>
Thu, 12 Jul 2018 15:02:22 +0000 (11:02 -0400)
committerRoger Dingledine <arma@torproject.org>
Thu, 12 Jul 2018 15:02:22 +0000 (11:02 -0400)
src/core/proto/proto_ext_or.h

index 708a45974bc380268de19e025664e1fbcf5ae459..2ff6ad45cac1b80476c5869de2718989f254bdb2 100644 (file)
 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);