diff options
Diffstat (limited to 'src/gos/gos_raw32.h')
-rw-r--r-- | src/gos/gos_raw32.h | 38 |
1 files changed, 2 insertions, 36 deletions
diff --git a/src/gos/gos_raw32.h b/src/gos/gos_raw32.h index 5ff38028..6b6bce93 100644 --- a/src/gos/gos_raw32.h +++ b/src/gos/gos_raw32.h @@ -29,42 +29,8 @@ /* Type definitions */ /*===========================================================================*/ -typedef unsigned char bool_t; - -#if __STDC_VERSION__ >= 199901L - #include <stdint.h> -#elif defined(__GNUC__) || defined(__GNUG__) - typedef __INT8_TYPE__ int8_t; - typedef __UINT8_TYPE__ uint8_t; - typedef __INT16_TYPE__ int16_t; - typedef __UINT16_TYPE__ uint16_t; - typedef __INT32_TYPE__ int32_t; - typedef __UINT32_TYPE__ uint32_t; -#else - typedef signed char int8_t; - typedef unsigned char uint8_t; - typedef signed short int16_t; - typedef unsigned short uint16_t; - typedef signed int int32_t; - typedef unsigned int uint32_t; -#endif - -#if defined(__STDC__) - #include <stddef.h> -#else - typedef uint32_t size_t; -#endif - -#ifdef __cplusplus -extern "C" { -#endif - - void gfxHalt(const char *msg); - void gfxExit(void); - -#ifdef __cplusplus -} -#endif +void gfxHalt(const char *msg); +void gfxExit(void); /*===========================================================================*/ /* Use the generic thread handling and heap handling */ |