1 #ifndef _SPARC_TYPES_H
2 #define _SPARC_TYPES_H
3
4
5
6
7
8
9
10
11
12
13 #ifndef _SIZE_T
14 #define _SIZE_T
15 #ifdef __svr4__
16 typedef unsigned int size_t;
17 #else
18 typedef long unsigned int size_t;
19 #endif
20 #endif
21
22 #ifndef _SSIZE_T
23 #define _SSIZE_T
24 typedef int ssize_t;
25 #endif
26
27 #ifndef _PTRDIFF_T
28 #define _PTRDIFF_T
29 typedef int ptrdiff_t;
30 #endif
31
32 typedef signed char __s8;
33 typedef unsigned char __u8;
34
35 typedef signed short __s16;
36 typedef unsigned short __u16;
37
38 typedef signed int __s32;
39 typedef unsigned int __u32;
40
41
42
43 typedef signed long long __s64;
44 typedef unsigned long long __u64;
45
46 #ifdef __KERNEL__
47
48 typedef signed char s8;
49 typedef unsigned char u8;
50
51 typedef signed short s16;
52 typedef unsigned short u16;
53
54 typedef signed int s32;
55 typedef unsigned int u32;
56
57
58
59 typedef signed long long s64;
60 typedef unsigned long long u64;
61
62 #endif
63
64 #endif