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)
Dec 20 2023, 2:20 AM
Unknown Object (File)
Oct 19 2023, 9:17 PM
Unknown Object (File)
Oct 19 2023, 1:36 AM
Unknown Object (File)
Aug 13 2023, 6:15 AM
Unknown Object (File)
Aug 2 2023, 6:08 PM
Unknown Object (File)
Jun 19 2023, 8:25 AM
Unknown Object (File)
May 26 2023, 4:23 AM
Unknown Object (File)
May 6 2023, 3:54 PM
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.