summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororudge <orudge@openttd.org>2005-07-23 16:28:19 +0000
committerorudge <orudge@openttd.org>2005-07-23 16:28:19 +0000
commit3ebab651af0735440461b283fe5be289dd695db9 (patch)
treecbb685dcb38853b2904dc26296b1fb8fec886d1a
parentb7d4beb440b70d5fa6bf89a62e1f59d5670dca49 (diff)
downloadopenttd-3ebab651af0735440461b283fe5be289dd695db9.tar.xz
(svn r2690) - Minor cleanups to os2.c and hal.h
-rw-r--r--hal.h4
-rw-r--r--os2.c9
2 files changed, 0 insertions, 13 deletions
diff --git a/hal.h b/hal.h
index fb58f09af..3d3e2a942 100644
--- a/hal.h
+++ b/hal.h
@@ -59,10 +59,6 @@ extern const DriverDesc _music_driver_descs[];
extern const HalMusicDriver _bemidi_music_driver;
#endif
-#if defined(__OS2__)
-extern const HalMusicDriver _os2_music_driver;
-#endif
-
extern const HalVideoDriver _dedicated_video_driver;
enum DriverType {
diff --git a/os2.c b/os2.c
index b11438eb0..a4bc96ad6 100644
--- a/os2.c
+++ b/os2.c
@@ -1,13 +1,10 @@
#include "stdafx.h"
#include "openttd.h"
#include "variables.h"
-#include "window.h"
#include "string.h"
#include "table/strings.h"
-#include "hal.h"
#include "gfx.h"
#include "gui.h"
-#include "saveload.h"
#include "functions.h"
#include "macros.h"
@@ -22,19 +19,13 @@
#include <dos.h>
#define INCL_DOS
-#define INCL_OS2MM
#define INCL_WIN
#define INCL_WINCLIPBOARD
#include <os2.h>
-#include <os2me.h>
#include <i86.h>
-#if defined(WITH_SDL)
-#include <SDL.h>
-#endif
-
#include "sound/null_s.h"
#include "sound/sdl_s.h"