summaryrefslogtreecommitdiffstats
path: root/share/examples/kld/cdev/test
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2010-02-01 14:13:44 +0000
committerluigi <luigi@FreeBSD.org>2010-02-01 14:13:44 +0000
commitd774a108f2b8f0d231be8b8813c9e69089e2f86c (patch)
tree845fb479e9e7705d68a27b9614c5d456f1a3c301 /share/examples/kld/cdev/test
parent99e94b99379262b699fde4476f0298841a7b92de (diff)
downloadFreeBSD-src-d774a108f2b8f0d231be8b8813c9e69089e2f86c.zip
FreeBSD-src-d774a108f2b8f0d231be8b8813c9e69089e2f86c.tar.gz
use u_char instead of u_int for short bitfields.
For our compiler the two constructs are completely equivalent, but some compilers (including MSC and tcc) use the base type for alignment, which in the cases touched here result in aligning the bitfields to 32 bit instead of the 8 bit that is meant here. Note that almost all other headers where small bitfields are used have u_int8_t instead of u_int. MFC after: 3 days
Diffstat (limited to 'share/examples/kld/cdev/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud