/* types.h 4.9 82/11/13 */
* Basic system types and major/minor device constructing/busting macros.
/* major part of a device */
#define major(x) ((int)(((unsigned)(x)>>8)&0377))
/* minor part of a device */
#define minor(x) ((int)((x)&0377))
/* make a device number */
#define makedev(x,y) ((dev_t)(((x)<<8) | (y)))
typedef unsigned char u_char
;
typedef unsigned short u_short
;
typedef unsigned int u_int
;
typedef unsigned long u_long
;
typedef struct _physadr
{ int r
[1]; } *physadr
;
typedef struct _physadr
{ short r
[1]; } *physadr
;
typedef struct _quad
{ long val
[2]; } quad
;
typedef struct fd_set
{ int fds_bits
[1]; } fd_set
;