Browse code

core: typef'ed the lump structure

Daniel-Constantin Mierla authored on 03/02/2016 11:57:11
Showing 1 changed files
... ...
@@ -70,7 +70,7 @@ enum lump_flag { LUMPFLAG_NONE=0, LUMPFLAG_DUPED=1, LUMPFLAG_SHMEM=2,
70 70
 #define LUMP_SET_COND_TRUE(_lump)	 (_lump)->flags |= LUMPFLAG_COND_TRUE
71 71
 #define LUMP_IS_COND_TRUE(_lump)	 ((_lump)->flags & LUMPFLAG_COND_TRUE)
72 72
 
73
-struct lump{
73
+typedef struct lump{
74 74
 	enum _hdr_types_t type; /* HDR_VIA_T, HDR_OTHER_T (0), ... */
75 75
 	enum lump_op op;   /* DEL, ADD, NOP, UNSPEC(=0) */
76 76
 	
... ...
@@ -91,7 +91,7 @@ struct lump{
91 91
 	struct lump* next;
92 92
 
93 93
 	enum lump_flag flags; /* additional hints for use from TM's shmem */
94
-};
94
+} sr_lump_t;
95 95
 
96 96
 
97 97
 /*