git: <machine/stdint.h>: Move __offsetof() to <sys/cdefs.h>.
Sascha Wildner
swildner at crater.dragonflybsd.org
Fri Aug 9 12:08:17 PDT 2019
commit 21a17da112b446e6863309007b58ea0c263b6ef4
Author: Sascha Wildner <saw at online.de>
Date: Fri Aug 9 21:08:02 2019 +0200
<machine/stdint.h>: Move __offsetof() to <sys/cdefs.h>.
It didn't really fit well into <machine/stdint.h> which is for machine
dependent types only.
See FreeBSD's r99594.
I took a comment and some additional casts from FreeBSD.
Pointed-out-by: zrj
Summary of changes:
sys/cpu/x86_64/include/stdint.h | 16 ----------------
sys/sys/cdefs.h | 18 ++++++++++++++++++
2 files changed, 18 insertions(+), 16 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/21a17da112b446e6863309007b58ea0c263b6ef4
--
DragonFly BSD source repository
More information about the Commits
mailing list