Commit 0317eb14 authored by Roger Dingledine's avatar Roger Dingledine
Browse files

Remove a redundant typedef in proto_ext_or.h

parent 4ac87a43
...@@ -10,11 +10,11 @@ ...@@ -10,11 +10,11 @@
struct buf_t; struct buf_t;
/** A parsed Extended ORPort message. */ /** A parsed Extended ORPort message. */
typedef struct ext_or_cmd_t { struct ext_or_cmd_t {
uint16_t cmd; /** Command type */ uint16_t cmd; /** Command type */
uint16_t len; /** Body length */ uint16_t len; /** Body length */
char body[FLEXIBLE_ARRAY_MEMBER]; /** Message body */ char body[FLEXIBLE_ARRAY_MEMBER]; /** Message body */
} ext_or_cmd_t; };
int fetch_ext_or_command_from_buf(struct buf_t *buf, int fetch_ext_or_command_from_buf(struct buf_t *buf,
struct ext_or_cmd_t **out); struct ext_or_cmd_t **out);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment