diff options
author | ed <ed@FreeBSD.org> | 2013-05-13 21:47:17 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2013-05-13 21:47:17 +0000 |
commit | f489ad2feca2af4027fd27065c295185c2ddd646 (patch) | |
tree | aa79f759af2a895083888b10b863a56fa26f13aa /sbin/kldstat | |
parent | 5c8f880a6c5755fe26f8275e63696e42f49bdae0 (diff) | |
download | FreeBSD-src-f489ad2feca2af4027fd27065c295185c2ddd646.zip FreeBSD-src-f489ad2feca2af4027fd27065c295185c2ddd646.tar.gz |
Improve readability of static assertions for OFFSET_* macros.
Instead of doing all sorts of weird casting of constants to
pointer-pointers, simply use the standard C offsetof() macro to obtain
the offset of the respective fields in the structures.
Diffstat (limited to 'sbin/kldstat')
0 files changed, 0 insertions, 0 deletions