]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
Sync (make same) the offsetof macro definition in include/ with the
authorcy <cy@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 29 Oct 2017 04:33:50 +0000 (04:33 +0000)
committercy <cy@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 29 Oct 2017 04:33:50 +0000 (04:33 +0000)
commitba836e409dbf937f40d1efcbc0dd8149790bb7e3
treec6a0e2a0e9225fcf68ee97b1c9e4e3a9c7cd2ca7
parentaf7ca16a4a7f50c1991f86e74813dc5ee5851990
Sync (make same) the offsetof macro definition in include/ with the
definition of the same in sys/sys/. The problem was discovered while
working on implementing a new C11 gets_s() for libc. (The new gets_s()
requires rsize_t found in include/stddef.h.) The solution to sync the two
definitions was suggested by ed@ while discussing D12667.

Suggested by: ed

git-svn-id: svn://svn.freebsd.org/base/stable/10@325090 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
include/stddef.h