Declaring running as a single-bit bitfield does not save any space
or give any coding advantages, but does leave potential opportunities
for the compiler to be inefficient in how it handles bitfields compared
to how it would handle a machine int.
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
unsigned int flags;
char error[COMPR_ERR_MAX];
struct compr_config *config;
- unsigned int running:1;
+ int running;
};
static int oops(struct compress *compress, int e, const char *fmt, ...)