cleanup more bits cruft (sysmacros and socket)
This commit is contained in:
parent
ca8373dfcf
commit
b0c088ee55
6 changed files with 199 additions and 414 deletions
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef _SYSMACROS_H
|
||||
#define _SYSMACROS_H
|
||||
|
||||
#include <bits/sysmacros.h>
|
||||
#define major(x) (((x) >> 8) & 0xff)
|
||||
#define minor(x) ((x) & 0xff)
|
||||
#define makedev(x,y) (((x)<<8)|((y)&0xff))
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue