]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Sync (make same) the offsetof macro definition in include/ with the
authorcy <cy@FreeBSD.org>
Sun, 29 Oct 2017 04:33:50 +0000 (04:33 +0000)
committercy <cy@FreeBSD.org>
Sun, 29 Oct 2017 04:33:50 +0000 (04:33 +0000)
commite933abe856a885012825a85f3e6fbaca6bbba5db
tree5497a5e207db5255760638b8577d02f0d94052b8
parentba652dccbb14123dab54bc664b85248f8ce22e1d
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
include/stddef.h