_types.h (102315) | _types.h (109475) |
---|---|
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/powerpc/include/_types.h 102315 2002-08-23 16:49:06Z mike $ | 36 * $FreeBSD: head/sys/powerpc/include/_types.h 109475 2003-01-18 11:18:42Z grehan $ |
37 */ 38 39#ifndef _MACHINE__TYPES_H_ 40#define _MACHINE__TYPES_H_ 41 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; 50typedef unsigned int __uint32_t; | 37 */ 38 39#ifndef _MACHINE__TYPES_H_ 40#define _MACHINE__TYPES_H_ 41 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; 50typedef unsigned int __uint32_t; |
51 52#if defined(lint) |
|
51/* LONGLONG */ | 53/* LONGLONG */ |
52typedef long long __int64_t; | 54typedef long long __int64_t; |
53/* LONGLONG */ | 55/* LONGLONG */ |
54typedef unsigned long long __uint64_t; | 56typedef unsigned long long __uint64_t; 57#elif defined(__GNUC__) 58typedef int __attribute__((__mode__(__DI__))) __int64_t; 59typedef unsigned int __attribute__((__mode__(__DI__))) __uint64_t; 60#else 61/* LONGLONG */ 62typedef long long __int64_t; 63/* LONGLONG */ 64typedef unsigned long long __uint64_t; 65#endif |
55 56/* 57 * Standard type definitions. 58 */ 59typedef __uint32_t __clock_t; /* clock()... */ 60typedef __int32_t __critical_t; 61typedef __int32_t __intfptr_t; 62typedef __int64_t __intmax_t; --- 52 unchanged lines hidden --- | 66 67/* 68 * Standard type definitions. 69 */ 70typedef __uint32_t __clock_t; /* clock()... */ 71typedef __int32_t __critical_t; 72typedef __int32_t __intfptr_t; 73typedef __int64_t __intmax_t; --- 52 unchanged lines hidden --- |