aboutsummaryrefslogtreecommitdiff
path: root/include/sys/sysmacros.h (follow)
Commit message (Expand)AuthorAgeFilesLines
* fix shifts possibly larger than type in major() macro•••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. Rich Felker2013-06-291-1/+1
* support full range of dev_t major/minor numbers in makedev, etc. macrosRich Felker2013-05-151-3/+10
* sysmacros major/minor: result should have type unsigned int, not dev_tRich Felker2012-09-081-2/+2
* header file fixes: multiple include guard consistency and correctness•••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) Rich Felker2012-06-151-2/+2
* cleanup more bits cruft (sysmacros and socket)Rich Felker2011-09-181-1/+3
* initial check-in, version 0.5.0Rich Felker2011-02-121-0/+6