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 typedef long unsigned int size_t;
16 #endif
17
18 #ifndef _SSIZE_T
19 #define _SSIZE_T
20 typedef int ssize_t;
21 #endif
22
23 #ifndef _PTRDIFF_T
24 #define _PTRDIFF_T
25 typedef int ptrdiff_t;
26 #endif
27
28 typedef signed char __s8;
29 typedef unsigned char __u8;
30
31 typedef signed short __s16;
32 typedef unsigned short __u16;
33
34 typedef signed int __s32;
35 typedef unsigned int __u32;
36
37
38
39 typedef signed long long __s64;
40 typedef unsigned long long __u64;
41
42 #ifdef __KERNEL__
43
44 typedef signed char s8;
45 typedef unsigned char u8;
46
47 typedef signed short s16;
48 typedef unsigned short u16;
49
50 typedef signed int s32;
51 typedef unsigned int u32;
52
53
54
55 typedef signed long long s64;
56 typedef unsigned long long u64;
57
58 #endif
59
60 #endif