aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos/gos_nios.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gos/gos_nios.h')
-rw-r--r--src/gos/gos_nios.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/gos/gos_nios.h b/src/gos/gos_nios.h
index 75bf5676..3ef7756f 100644
--- a/src/gos/gos_nios.h
+++ b/src/gos/gos_nios.h
@@ -10,29 +10,16 @@
#if GFX_USE_OS_NIOS
-#include <stdint.h>
-#include <stddef.h>
-#include <stdbool.h>
#include <sys/alt_alarm.h>
typedef alt_u32 systemticks_t;
typedef alt_u32 delaytime_t;
-typedef unsigned char bool_t;
-
-#ifdef __cplusplus
-extern "C" {
-#endif
void gfxHalt(const char* msg);
void gfxExit(void);
systemticks_t gfxSystemTicks(void);
systemticks_t gfxMillisecondsToTicks(delaytime_t ms);
-#ifdef __cplusplus
-}
-#endif
-
-
// Use the generic thread handling and heap handling
#define GOS_NEED_X_THREADS GFXON
#define GOS_NEED_X_HEAP GFXON