Commit b2bcc2c3 authored by Nils Goroll's avatar Nils Goroll

pack our enums, they are private to our code

parent 386f0b88
......@@ -52,7 +52,7 @@ enum n_type {
T_CRC,
T_SUBREQ,
T_FINAL // non-ESI pass / hfm / hfp
};
} __attribute__ ((__packed__));
/*
* see state.dot:
......@@ -97,8 +97,8 @@ enum n_state {
ST_OPEN,
ST_CLOSED,
ST_UNPENDING,
ST_DELIVERED,
};
ST_DELIVERED
} __attribute__ ((__packed__));
VSTAILQ_HEAD(node_head, node);
......@@ -122,7 +122,7 @@ enum t_crc {
GZIP_HDR,
UPDATE,
FINAL // combine with parent or gen tail
};
} __attribute__ ((__packed__));
struct node_crc {
enum t_crc ctype;
......@@ -157,7 +157,7 @@ enum fi_state {
FI_GO, // topreq signalling req to deliver
FI_DONE, // req signalling topreq it is done
FI_DESTROYED // cond/mtx destroyed (fini_final())
};
} __attribute__ ((__packed__));
/* we block the sub-thread when it's ready for delivery and continue when the
* topreqp tells it to */
......
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