Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110615834
D16734.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
573 B
Referenced Files
None
Subscribers
None
D16734.diff
View Options
Index: head/sys/sys/types.h
===================================================================
--- head/sys/sys/types.h
+++ head/sys/sys/types.h
@@ -400,10 +400,10 @@
}
#define makedev(M, m) __makedev((M), (m))
static __inline dev_t
-__makedev(int _M, int _m)
+__makedev(int _Major, int _Minor)
{
- return (((dev_t)(_M & 0xffffff00) << 32) | ((_M & 0xff) << 8) |
- ((dev_t)(_m & 0xff00) << 24) | (_m & 0xffff00ff));
+ return (((dev_t)(_Major & 0xffffff00) << 32) | ((_Major & 0xff) << 8) |
+ ((dev_t)(_Minor & 0xff00) << 24) | (_Minor & 0xffff00ff));
}
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 21, 10:57 PM (2 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16762399
Default Alt Text
D16734.diff (573 B)
Attached To
Mode
D16734: sys/types.h: avoid using terse macro _M
Attached
Detach File
Event Timeline
Log In to Comment