summaryrefslogtreecommitdiffstats
path: root/sbin/kldstat
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2013-05-13 21:47:17 +0000
committered <ed@FreeBSD.org>2013-05-13 21:47:17 +0000
commitf489ad2feca2af4027fd27065c295185c2ddd646 (patch)
treeaa79f759af2a895083888b10b863a56fa26f13aa /sbin/kldstat
parent5c8f880a6c5755fe26f8275e63696e42f49bdae0 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud