Commit 0aec805e authored by Pavan Balaji's avatar Pavan Balaji
Browse files

Remove unnecessary typedef.

We were using an enum for packet types and used an int16_t for the
storage.  Instead we should directly use the enum as the storage.
Signed-off-by: default avatarWesley Bland <>
parent faa37d89
......@@ -63,7 +63,7 @@ typedef union {
/* We start with an arbitrarily chosen number (42), to help with
* debugging when a packet type is not initialized or wrongly
* initialized. */
enum MPIDI_CH3_Pkt_types
typedef enum
#if defined(USE_EAGER_SHORT)
......@@ -108,9 +108,8 @@ enum MPIDI_CH3_Pkt_types
# endif
MPIDI_CH3_PKT_INVALID = -1 /* forces a signed enum to quash warnings */
} MPIDI_CH3_Pkt_type_t;
typedef int16_t MPIDI_CH3_Pkt_type_t;
typedef uint16_t MPIDI_CH3_Pkt_flags_t;
/* Flag vector bits:*/
Markdown is supported
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