mirror of
git://git.musl-libc.org/musl
synced 2024-12-24 15:43:06 +00:00
9 lines
161 B
C
9 lines
161 B
C
#ifndef _SYSMACROS_H
|
|
#define _SYSMACROS_H
|
|
|
|
#define major(x) (((x) >> 8) & 0xff)
|
|
#define minor(x) ((x) & 0xff)
|
|
#define makedev(x,y) (((x)<<8)|((y)&0xff))
|
|
|
|
#endif
|