Commit | Line | Data |
---|---|---|
f0122e7f KB |
1 | /*- |
2 | * Copyright (c) 1990 The Regents of the University of California. | |
3 | * All rights reserved. | |
4 | * | |
5 | * %sccs.include.redist.c% | |
6 | * | |
e23d0dc1 | 7 | * @(#)types.h 7.9 (Berkeley) %G% |
f0122e7f KB |
8 | */ |
9 | ||
f43b7ac0 KB |
10 | #ifndef _MACHTYPES_H_ |
11 | #define _MACHTYPES_H_ | |
f0122e7f | 12 | |
e23d0dc1 | 13 | #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE) |
cddaf703 KB |
14 | typedef struct _physadr { |
15 | int r[1]; | |
16 | } *physadr; | |
09c9730d | 17 | |
cddaf703 KB |
18 | typedef struct label_t { |
19 | int val[14]; | |
f43b7ac0 | 20 | } label_t; |
e23d0dc1 | 21 | #endif |
09c9730d | 22 | |
39eef863 KB |
23 | /* |
24 | * Basic integral types. Omit the typedef if | |
25 | * not possible for a machine/compiler combination. | |
26 | */ | |
e23d0dc1 KB |
27 | typedef signed char int8_t; |
28 | typedef unsigned char u_int8_t; | |
29 | typedef short int16_t; | |
30 | typedef unsigned short u_int16_t; | |
31 | typedef int int32_t; | |
32 | typedef unsigned int u_int32_t; | |
33 | typedef long long int64_t; | |
34 | typedef unsigned long long u_int64_t; | |
28bde4f9 | 35 | |
f43b7ac0 | 36 | #endif /* _MACHTYPES_H_ */ |