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
Unknown Object (File)
Sun, Feb 8, 11:39 AM
Unknown Object (File)
Sun, Feb 8, 4:28 AM
Unknown Object (File)
Sat, Jan 31, 9:43 AM
Unknown Object (File)
Dec 21 2025, 11:55 PM
Unknown Object (File)
Dec 14 2025, 3:54 AM
Unknown Object (File)
Dec 11 2025, 1:11 AM
Unknown Object (File)
Nov 29 2025, 11:50 PM
Unknown Object (File)
Nov 14 2025, 4:09 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.