1 #ifndef_M68K_TYPES_H 2 #define_M68K_TYPES_H 3
4 /* 5 * This file is never included by application software unless 6 * explicitly requested (e.g., via linux/types.h) in which case the 7 * application is Linux specific so (user-) name space pollution is 8 * not a major issue. However, for interoperability, libraries still 9 * need to be careful to avoid a name clashes. 10 */ 11
12 typedefunsignedshortumode_t;
13
14 /* 15 * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the 16 * header files exported to user space 17 */ 18
19 typedef__signed__char__s8;
20 typedefunsignedchar__u8;
21
22 typedef__signed__short__s16;
23 typedefunsignedshort__u16;
24
25 typedef__signed__int__s32;
26 typedefunsignedint__u32;
27
28 #ifdefined(__GNUC__) && !defined(__STRICT_ANSI__)
29 typedef__signed__longlong __s64;
30 typedefunsignedlonglong__u64;
31 #endif 32
33 /* 34 * These aren't exported outside the kernel to avoid name space clashes 35 */ 36 #ifdef__KERNEL__ 37
38 typedefsignedchars8;
39 typedefunsignedcharu8;
40
41 typedefsignedshorts16;
42 typedefunsignedshortu16;
43
44 typedefsignedints32;
45 typedefunsignedintu32;
46
47 typedefsignedlonglong s64;
48 typedefunsignedlonglongu64;
49
50 #endif/* __KERNEL__ */ 51
52 #endif/* _M68K_TYPES_H */