X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=include%2Ftr_msg.h;h=f5d7c6052d25cd186dd0ee913826011c7fbc068a;hb=089233f00e330205d8a575b3f6a0f34fc2f5bd78;hp=25f05aa126776dff85cef3f57f5e7a8178a72097;hpb=a40087318a4bedee0a18b30d2e3f15729733e2df;p=trust_router.git diff --git a/include/tr_msg.h b/include/tr_msg.h index 25f05aa..f5d7c60 100644 --- 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);