projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
cleanup types stuff in headers, fix missing u_int*_t in sys/types.h
[oweals/musl.git]
/
arch
/
x86_64
/
bits
/
sysmacros.h
1
#define major(x) (((x) >> 8) & 0xff)
2
#define minor(x) ((x) & 0xff)
3
#define makedev(x,y) (((x)<<8)|((y)&0xff))
4
5
//#define makedev(x,y) \
6
// ((x)*0x100000001ULL)&(0xfffffffffff0)
7
// ((y)*0x1001 & 0xffff0ff)