[alsa-devel] [PATCH] ASoC: core: Convert single bit wide bitfields into bools

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Feb 8 21:05:37 CET 2012


On Wed, Feb 08, 2012 at 02:52:49PM -0500, Trent Piepho wrote:

> Linux defines bool as _Bool, which is a native type from C99.  _Bools
> in structs appear to be the same as unsigned char.  They each take one
> byte and have an alignment of one.

Well, that's a bit of a failure isn't it?  Let's not bother then.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20120208/97e3a00a/attachment.sig 


More information about the Alsa-devel mailing list