]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[ppc] avoid empty mdproc struct
authorluporl <luporl@FreeBSD.org>
Mon, 12 Aug 2019 17:18:20 +0000 (17:18 +0000)
committerluporl <luporl@FreeBSD.org>
Mon, 12 Aug 2019 17:18:20 +0000 (17:18 +0000)
commitd412969e8961d262553866a9c38006ad5df05012
tree8b1798f3729cc4f1bf15a5e5a9ca5025e3e695a9
parent29bd1140e73183abbf9eac09cc14a4836197f6b4
[ppc] avoid empty mdproc struct

Avoid empty structs, that have undefined behavior in C99 and
make compilers complain about it
(empty struct has size 0 in C, size 1 in C++).

Reviewed by: jhibbits
Differential Revision: https://reviews.freebsd.org/D21231
sys/powerpc/include/proc.h