projects
/
trust_router.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a400873
)
Don't multiply define the same type
author
Sam Hartman
<hartmans@debian.org>
Thu, 10 Oct 2013 17:26:23 +0000
(13:26 -0400)
committer
Sam Hartman
<hartmans@debian.org>
Thu, 10 Oct 2013 17:26:23 +0000
(13:26 -0400)
include/tr_msg.h
patch
|
blob
|
history
diff --git
a/include/tr_msg.h
b/include/tr_msg.h
index
25f05aa
..
f5d7c60
100644
(file)
--- a/
include/tr_msg.h
+++ b/
include/tr_msg.h
@@
-47,13
+47,13
@@
enum msg_type {
};
/* Union of TR message types to hold message of any type. */
-
typedef
struct tr_msg {
+struct tr_msg {
enum msg_type msg_type;
union {
TID_REQ *tid_req;
TID_RESP *tid_resp;
};
-}
TR_MSG
;
+};
/* Accessors */
enum msg_type tr_msg_get_msg_type(TR_MSG *msg);