Page MenuHomeFreeBSD

[ppc] avoid empty mdproc struct
ClosedPublic

Authored by luporl on Aug 12 2019, 4:51 PM.

Details

Summary

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++).

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

luporl created this revision.Aug 12 2019, 4:51 PM
jhibbits accepted this revision.Aug 12 2019, 5:10 PM
This revision is now accepted and ready to land.Aug 12 2019, 5:10 PM
This revision was automatically updated to reflect the committed changes.