1 /* $Id: types.h,v 1.9 1996/04/04 12:51:34 davem Exp $ */ 2 #ifndef_SPARC_TYPES_H 3 #define_SPARC_TYPES_H 4
5 /* 6 * _xx is ok: it doesn't pollute the POSIX namespace. Use these in the 7 * header files exported to user space. 8 */ 9
10 /* 11 * This file is never included by application software unless 12 * explicitly requested (e.g., via linux/types.h) in which case the 13 * application is Linux specific so (user-) name space pollution is 14 * not a major issue. However, for interoperability, libraries still 15 * need to be careful to avoid a name clashes. 16 */ 17
18 typedefunsignedshortumode_t;
19
20 typedefsignedchar__s8;
21 typedefunsignedchar__u8;
22
23 typedefsignedshort__s16;
24 typedefunsignedshort__u16;
25
26 typedefsignedint__s32;
27 typedefunsignedint__u32;
28
29 typedefsignedlonglong __s64;
30 typedefunsignedlonglong__u64;
31
32 #ifdef__KERNEL__ 33
34 typedefsignedchars8;
35 typedefunsignedcharu8;
36
37 typedefsignedshorts16;
38 typedefunsignedshortu16;
39
40 typedefsignedints32;
41 typedefunsignedintu32;
42
43 typedefsignedlonglong s64;
44 typedefunsignedlonglongu64;
45
46 #endif/* __KERNEL__ */ 47
48 #endif/* defined(_SPARC_TYPES_H) */