Skip to content

Commit

Permalink
core: typef'ed the lump structure
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Feb 3, 2016
1 parent a7aa7a7 commit ddbf18a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lump_struct.h
Expand Up @@ -70,7 +70,7 @@ enum lump_flag { LUMPFLAG_NONE=0, LUMPFLAG_DUPED=1, LUMPFLAG_SHMEM=2,
#define LUMP_SET_COND_TRUE(_lump) (_lump)->flags |= LUMPFLAG_COND_TRUE
#define LUMP_IS_COND_TRUE(_lump) ((_lump)->flags & LUMPFLAG_COND_TRUE)

struct lump{
typedef struct lump{
enum _hdr_types_t type; /* HDR_VIA_T, HDR_OTHER_T (0), ... */
enum lump_op op; /* DEL, ADD, NOP, UNSPEC(=0) */

Expand All @@ -91,7 +91,7 @@ struct lump{
struct lump* next;

enum lump_flag flags; /* additional hints for use from TM's shmem */
};
} sr_lump_t;


/*
Expand Down

0 comments on commit ddbf18a

Please sign in to comment.