xref: /original-bsd/sys/hp300/include/types.h (revision 40cc2ab7)
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.2 (Berkeley) 05/17/90
8  */
9 
10 #ifndef	_MACHTYPES_H_
11 #define	_MACHTYPES_H_
12 
13 /*
14  * Types which are fundamental to the implementation and may appear in
15  * more than one standard header are defined here.  Standard headers
16  * then use:
17  *	#ifdef	_SIZE_T_
18  *	typedef	_SIZE_T_ size_t;
19  *	#undef	_SIZE_T_
20  *	#endif
21  *
22  * Thanks, ANSI!
23  */
24 #define	_PTRDIFF_T_	int			/* ptr1 - ptr2 */
25 #define	_VA_LIST_	char *			/* va_list */
26 #define	_WCHAR_T_	unsigned short		/* wchar_t */
27 #define	_SIZE_T_	unsigned int		/* sizeof() */
28 
29 #ifndef _ANSI_SOURCE
30 typedef	struct	_physadr { short r[1]; } *physadr;
31 typedef	struct	label_t	{
32 	int	val[15];	/* consistent with HP-UX */
33 } label_t;
34 #endif
35 
36 #endif	/* _MACHTYPES_H_ */
37