mirror of https://git.musl-libc.org/git/musl
1 changed files with 2 additions and 2 deletions
@ -1,8 +1,8 @@ |
|||
#ifndef _SYS_SYSMACROS_H |
|||
#define _SYS_SYSMACROS_H |
|||
|
|||
#define major(x) (((x) >> 8) & 0xff) |
|||
#define minor(x) ((x) & 0xff) |
|||
#define major(x) ((unsigned)((x) >> 8) & 0xff) |
|||
#define minor(x) ((unsigned)(x) & 0xff) |
|||
#define makedev(x,y) (((x)<<8)|((y)&0xff)) |
|||
|
|||
#endif |
|||
|
|||
Loading…
Reference in new issue