From e5cbec2ebf31c414b7fe21ccc85357aa5d8acf54 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 16 Feb 2024 01:17:37 +0100 Subject: Sort out includes --- src/ahoy/emulator.c | 3 --- src/ahoy/emulator.h | 2 ++ src/ahoy/gui.c | 2 +- src/ahoy/main.c | 5 ++--- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/ahoy/emulator.c b/src/ahoy/emulator.c index 92f3a1c..00a87ff 100644 --- a/src/ahoy/emulator.c +++ b/src/ahoy/emulator.c @@ -1,15 +1,12 @@ #include -#include #include #include #include -#include #include #include "cerr.h" #include "emulator.h" -#include "gui.h" #include "macros.h" #define MEM_RESERVED 0x200 diff --git a/src/ahoy/emulator.h b/src/ahoy/emulator.h index 56b5545..a9c4398 100644 --- a/src/ahoy/emulator.h +++ b/src/ahoy/emulator.h @@ -1,6 +1,8 @@ #ifndef AHOY_AHOY_EMULATOR_H #define AHOY_AHOY_EMULATOR_H +#include + #include /* Uppercase variables represent registers. The following registers exist: diff --git a/src/ahoy/gui.c b/src/ahoy/gui.c index ea00b4a..b50e388 100644 --- a/src/ahoy/gui.c +++ b/src/ahoy/gui.c @@ -2,7 +2,7 @@ #include #include -#include +#include #include "cerr.h" #include "emulator.h" diff --git a/src/ahoy/main.c b/src/ahoy/main.c index 69a7946..a293fce 100644 --- a/src/ahoy/main.c +++ b/src/ahoy/main.c @@ -2,19 +2,18 @@ #include #include +#include #include #include -#include #include #include -#include +#include #include "cerr.h" #include "emulator.h" #include "gui.h" #include "macros.h" -#include "SDL_timer.h" #define FPS 60 #define INSTS_PER_SEC 700 -- cgit v1.2.3