mirror of
git://git.musl-libc.org/musl
synced 2024-12-17 12:14:42 +00:00
9 lines
189 B
C
9 lines
189 B
C
#ifndef _SYS_SYSMACROS_H
|
|
#define _SYS_SYSMACROS_H
|
|
|
|
#define major(x) ((unsigned)((x) >> 8) & 0xff)
|
|
#define minor(x) ((unsigned)(x) & 0xff)
|
|
#define makedev(x,y) (((x)<<8)|((y)&0xff))
|
|
|
|
#endif
|