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)
Mon, Nov 4, 7:15 AM
Unknown Object (File)
Sep 17 2024, 2:13 AM
Unknown Object (File)
Aug 11 2024, 9:46 PM
Unknown Object (File)
Jun 24 2024, 7:56 PM
Unknown Object (File)
Jun 22 2024, 6:57 PM
Unknown Object (File)
Jun 3 2024, 6:23 PM
Unknown Object (File)
May 13 2024, 6:52 AM
Unknown Object (File)
May 12 2024, 7:27 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.