_types.h (127977) | _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: --- 15 unchanged lines hidden (view full) --- 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * 30 * From: @(#)ansi.h 8.2 (Berkeley) 1/4/94 31 * 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: --- 15 unchanged lines hidden (view full) --- 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * 30 * From: @(#)ansi.h 8.2 (Berkeley) 1/4/94 31 * From: @(#)types.h 8.3 (Berkeley) 1/5/94 |
32 * $FreeBSD: head/sys/sparc64/include/_types.h 127977 2004-04-07 05:00:01Z imp $ | 32 * $FreeBSD: head/sys/sparc64/include/_types.h 143063 2005-03-02 21:33:29Z joerg $ |
33 */ 34 35#ifndef _MACHINE__TYPES_H_ 36#define _MACHINE__TYPES_H_ 37 | 33 */ 34 35#ifndef _MACHINE__TYPES_H_ 36#define _MACHINE__TYPES_H_ 37 |
38#ifndef _SYS_CDEFS_H_ 39#error this file needs sys/cdefs.h as a prerequisite 40#endif 41 |
|
38/* 39 * Basic types upon which most other types are built. 40 */ 41typedef __signed char __int8_t; 42typedef unsigned char __uint8_t; 43typedef short __int16_t; 44typedef unsigned short __uint16_t; 45typedef int __int32_t; --- 42 unchanged lines hidden (view full) --- 88typedef __int64_t __vm_ooffset_t; 89typedef __uint64_t __vm_paddr_t; 90typedef __uint64_t __vm_pindex_t; 91typedef __uint64_t __vm_size_t; 92 93/* 94 * Unusual type definitions. 95 */ | 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 */ |
96#if defined(__GNUC__) && (__GNUC__ == 2 && __GNUC_MINOR__ > 95 || __GNUC__ >= 3) | 100#ifdef __GNUCLIKE_BUILTIN_VARARGS |
97typedef __builtin_va_list __va_list; /* internally known to gcc */ 98#else 99typedef char * __va_list; | 101typedef __builtin_va_list __va_list; /* internally known to gcc */ 102#else 103typedef char * __va_list; |
100#endif /* post GCC 2.95 */ 101#if defined __GNUC__ && !defined(__GNUC_VA_LIST) && !defined(__NO_GNUC_VA_LIST) | 104#endif /* __GNUCLIKE_BUILTIN_VARARGS */ 105#if defined(__GNUCLIKE_BUILTIN_VAALIST) && !defined(__GNUC_VA_LIST) \ 106 && !defined(__NO_GNUC_VA_LIST) |
102#define __GNUC_VA_LIST 103typedef __va_list __gnuc_va_list; /* compatibility w/GNU headers*/ 104#endif 105 106#endif /* !_MACHINE__TYPES_H_ */ | 107#define __GNUC_VA_LIST 108typedef __va_list __gnuc_va_list; /* compatibility w/GNU headers*/ 109#endif 110 111#endif /* !_MACHINE__TYPES_H_ */ |