xref: /original-bsd/sys/vax/include/types.h (revision 333da485)
1 /*-
2  * Copyright (c) 1990 The Regents of the University of California.
3  * All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)types.h	7.10 (Berkeley) 01/05/94
8  */
9 
10 #ifndef	_MACHTYPES_H_
11 #define	_MACHTYPES_H_
12 
13 #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
14 typedef struct _physadr {
15 	int r[1];
16 } *physadr;
17 
18 typedef struct label_t {
19 	int val[14];
20 } label_t;
21 #endif
22 
23 /*
24  * Basic integral types.  Omit the typedef if
25  * not possible for a machine/compiler combination.
26  */
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;
35 
36 #endif	/* _MACHTYPES_H_ */
37