cleanup more bits cruft (sysmacros and socket)

This commit is contained in:
Rich Felker 2011-09-18 16:34:13 -04:00
commit b0c088ee55
6 changed files with 199 additions and 414 deletions

View file

@ -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