Переглянути джерело

Yet more synonyms that people tend to use.

tags/v0.9.3
Michael Brown 17 роки тому
джерело
коміт
f59281d8f6
1 змінених файлів з 17 додано та 11 видалено
  1. 17
    11
      src/arch/i386/include/stdint.h

+ 17
- 11
src/arch/i386/include/stdint.h Переглянути файл

@@ -18,16 +18,22 @@ typedef signed long long	int64_t;
18 18
 typedef unsigned long		physaddr_t;
19 19
 typedef unsigned long		intptr_t;
20 20
 
21
-typedef signed char	   s8;
22
-typedef unsigned char      u8;
23
-
24
-typedef signed short       s16;
25
-typedef unsigned short     u16;
26
-
27
-typedef signed int         s32;
28
-typedef unsigned int       u32;
29
-
30
-typedef signed long long   s64;
31
-typedef unsigned long long u64;
21
+typedef int8_t s8;
22
+typedef uint8_t u8;
23
+typedef int16_t s16;
24
+typedef uint16_t u16;
25
+typedef int32_t s32;
26
+typedef uint32_t u32;
27
+typedef int64_t s64;
28
+typedef uint64_t u64;
29
+
30
+typedef int8_t int8;
31
+typedef uint8_t uint8;
32
+typedef int16_t int16;
33
+typedef uint16_t uint16;
34
+typedef int32_t int32;
35
+typedef uint32_t uint32;
36
+typedef int64_t int64;
37
+typedef uint64_t uint64;
32 38
 
33 39
 #endif /* STDINT_H */

Завантаження…
Відмінити
Зберегти