Deleted Added
full compact
_types.h (127239) _types.h (143063)
1/*-
2 * Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org>
3 * Copyright (c) 1990, 1993
4 * The Regents of the University of California. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 19 unchanged lines hidden (view full) ---

28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * From: @(#)ansi.h 8.2 (Berkeley) 1/4/94
35 * From: @(#)types.h 8.3 (Berkeley) 1/5/94
1/*-
2 * Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org>
3 * Copyright (c) 1990, 1993
4 * The Regents of the University of California. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 19 unchanged lines hidden (view full) ---

28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * From: @(#)ansi.h 8.2 (Berkeley) 1/4/94
35 * From: @(#)types.h 8.3 (Berkeley) 1/5/94
36 * $FreeBSD: head/sys/amd64/include/_types.h 127239 2004-03-20 20:41:40Z marcel $
36 * $FreeBSD: head/sys/amd64/include/_types.h 143063 2005-03-02 21:33:29Z joerg $
37 */
38
39#ifndef _MACHINE__TYPES_H_
40#define _MACHINE__TYPES_H_
41
37 */
38
39#ifndef _MACHINE__TYPES_H_
40#define _MACHINE__TYPES_H_
41
42#ifndef _SYS_CDEFS_H_
43#error this file needs sys/cdefs.h as a prerequisite
44#endif
45
42/*
43 * Basic types upon which most other types are built.
44 */
45typedef __signed char __int8_t;
46typedef unsigned char __uint8_t;
47typedef short __int16_t;
48typedef unsigned short __uint16_t;
49typedef int __int32_t;

--- 42 unchanged lines hidden (view full) ---

92typedef __int64_t __vm_ooffset_t;
93typedef __uint64_t __vm_paddr_t;
94typedef __uint64_t __vm_pindex_t;
95typedef __uint64_t __vm_size_t;
96
97/*
98 * Unusual type definitions.
99 */
46/*
47 * Basic types upon which most other types are built.
48 */
49typedef __signed char __int8_t;
50typedef unsigned char __uint8_t;
51typedef short __int16_t;
52typedef unsigned short __uint16_t;
53typedef int __int32_t;

--- 42 unchanged lines hidden (view full) ---

96typedef __int64_t __vm_ooffset_t;
97typedef __uint64_t __vm_paddr_t;
98typedef __uint64_t __vm_pindex_t;
99typedef __uint64_t __vm_size_t;
100
101/*
102 * Unusual type definitions.
103 */
100#if defined(__GNUC__)
104#ifdef __GNUCLIKE_BUILTIN_VARARGS
101typedef __builtin_va_list __va_list; /* internally known to gcc */
102#elif defined(lint)
103typedef char * __va_list; /* pretend */
104#endif
105typedef __builtin_va_list __va_list; /* internally known to gcc */
106#elif defined(lint)
107typedef char * __va_list; /* pretend */
108#endif
105#if defined __GNUC__ && !defined(__GNUC_VA_LIST) && !defined(__NO_GNUC_VA_LIST)
109#if defined(__GNUC_VA_LIST_COMPATIBILITY) && !defined(__GNUC_VA_LIST) \
110 && !defined(__NO_GNUC_VA_LIST)
106#define __GNUC_VA_LIST
107typedef __va_list __gnuc_va_list; /* compatibility w/GNU headers*/
108#endif
109
110#endif /* !_MACHINE__TYPES_H_ */
111#define __GNUC_VA_LIST
112typedef __va_list __gnuc_va_list; /* compatibility w/GNU headers*/
113#endif
114
115#endif /* !_MACHINE__TYPES_H_ */