[lttng-dev] [patch] Staging: lttng: dubious one-bit signed bitfields

Joe Perches joe at perches.com
Thu Dec 1 13:50:23 EST 2011


On Thu, 2011-12-01 at 10:56 +0100, walter harms wrote:
> hi,
> This patch looks ok to me but this design is ugly by itself.
> It should be replaced by an uchar uint whatever or use a
> real bool (obviously not preferred by this programmes).

bool:1 should work as well.
I doubt the space savings is worth much though.




More information about the lttng-dev mailing list