summaryrefslogtreecommitdiff
path: root/include/sys/sysmacros.h
AgeCommit message (Collapse)Author
2013-06-29fix shifts possibly larger than type in major() macroRich Felker
in theory this should not be an issue, since major() should only be applied to type dev_t, which is 64-bit. however, it appears some applications are not using dev_t but a smaller integer type (which works on Linux because the kernel's dev_t is really only 32-bit). to avoid the undefined behavior, do it as two shifts.
2013-05-15support full range of dev_t major/minor numbers in makedev, etc. macrosRich Felker
2012-09-08sysmacros major/minor: result should have type unsigned int, not dev_tRich Felker
2012-06-15header file fixes: multiple include guard consistency and correctnessRich Felker
one file was reusing another file's macro name, and many had inconsistent underscores and application of SYS prefix, etc. patch by Szabolcs Nagy (nsz)
2011-09-18cleanup more bits cruft (sysmacros and socket)Rich Felker
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker