Page MenuHomeFreeBSD

sys/types.h: avoid using terse macro _M
ClosedPublic

Authored by emaste on Aug 15 2018, 9:43 PM.
Tags
None
Referenced Files
F158422231: D16734.id.diff
Mon, Jun 1, 9:49 AM
Unknown Object (File)
Sun, May 31, 3:08 PM
Unknown Object (File)
Sun, May 31, 6:09 AM
Unknown Object (File)
Fri, May 29, 10:08 AM
Unknown Object (File)
Sat, May 23, 4:35 PM
Unknown Object (File)
Mon, May 18, 2:54 PM
Unknown Object (File)
Sun, May 17, 5:19 PM
Unknown Object (File)
Sat, May 16, 9:24 AM
Subscribers

Details

Summary

Although _M is reserved for use by the implementation it is rather non-descriptive and conflicted with a libc++ test. Just rename to _Major and _Minor to avoid conflicts.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

LGTM, maybe also rename the arguments of the preceding macro, for consistency?

This revision is now accepted and ready to land.Aug 16 2018, 5:10 AM
This revision was automatically updated to reflect the committed changes.