FreeBSD/Linux Kernel Cross Reference
sys/sys/_stdint.h
1 /*-
2 * Copyright (c) 2011 David E. O'Brien <obrien@FreeBSD.org>
3 * Copyright (c) 2001 Mike Barcroft <mike@FreeBSD.org>
4 * 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:
9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution.
14 *
15 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
27 * $FreeBSD: releng/9.0/sys/sys/_stdint.h 222813 2011-06-07 08:46:13Z attilio $
28 */
29
30 #ifndef _SYS__STDINT_H_
31 #define _SYS__STDINT_H_
32
33 #ifndef _INT8_T_DECLARED
34 typedef __int8_t int8_t;
35 #define _INT8_T_DECLARED
36 #endif
37
38 #ifndef _INT16_T_DECLARED
39 typedef __int16_t int16_t;
40 #define _INT16_T_DECLARED
41 #endif
42
43 #ifndef _INT32_T_DECLARED
44 typedef __int32_t int32_t;
45 #define _INT32_T_DECLARED
46 #endif
47
48 #ifndef _INT64_T_DECLARED
49 typedef __int64_t int64_t;
50 #define _INT64_T_DECLARED
51 #endif
52
53 #ifndef _UINT8_T_DECLARED
54 typedef __uint8_t uint8_t;
55 #define _UINT8_T_DECLARED
56 #endif
57
58 #ifndef _UINT16_T_DECLARED
59 typedef __uint16_t uint16_t;
60 #define _UINT16_T_DECLARED
61 #endif
62
63 #ifndef _UINT32_T_DECLARED
64 typedef __uint32_t uint32_t;
65 #define _UINT32_T_DECLARED
66 #endif
67
68 #ifndef _UINT64_T_DECLARED
69 typedef __uint64_t uint64_t;
70 #define _UINT64_T_DECLARED
71 #endif
72
73 #ifndef _INTPTR_T_DECLARED
74 typedef __intptr_t intptr_t;
75 #define _INTPTR_T_DECLARED
76 #endif
77 #ifndef _UINTPTR_T_DECLARED
78 typedef __uintptr_t uintptr_t;
79 #define _UINTPTR_T_DECLARED
80 #endif
81
82 #endif /* !_SYS__STDINT_H_ */
Cache object: 224eeb47f9acc4dfeea90574353ec457
|