about summary refs log tree commit diff
path: root/include/sys/sysmacros.h
Commit message (Collapse)AuthorAgeFilesLines
* fix shifts possibly larger than type in major() macroRich Felker2013-06-291-1/+1
| | | | | | | | 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.
* 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 correctnessRich Felker2012-06-151-2/+2
| | | | | | | 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)
* cleanup more bits cruft (sysmacros and socket)Rich Felker2011-09-181-1/+3
|
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-121-0/+6