summaryrefslogtreecommitdiff
path: root/hal.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-07-28 09:41:09 +0000
committertron <tron@openttd.org>2005-07-28 09:41:09 +0000
commitbc6570ae69a7f0cb602eaa7bcf1753136307d6d5 (patch)
tree082c4b30a3afd942355fc1c59fe80fb222b6b690 /hal.h
parentfcd012e7ec7f60fd6a7d5cfc9ac8b9f4b086ab37 (diff)
downloadopenttd-bc6570ae69a7f0cb602eaa7bcf1753136307d6d5.tar.xz
(svn r2737) static, const and don't make variables public nobody else needs to know about
Diffstat (limited to 'hal.h')
-rw-r--r--hal.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/hal.h b/hal.h
index ac75a3ebf..ba18f605e 100644
--- a/hal.h
+++ b/hal.h
@@ -37,12 +37,6 @@ typedef struct {
void (*set_volume)(byte vol);
} HalMusicDriver;
-typedef struct {
- const char *name;
- const char *longname;
- const void *drv;
-} DriverDesc;
-
enum {
HALERR_OK = 0,
HALERR_ERROR = 1,
@@ -52,10 +46,6 @@ VARDEF HalMusicDriver *_music_driver;
VARDEF HalSoundDriver *_sound_driver;
VARDEF HalVideoDriver *_video_driver;
-extern const DriverDesc _video_driver_descs[];
-extern const DriverDesc _sound_driver_descs[];
-extern const DriverDesc _music_driver_descs[];
-
enum DriverType {
VIDEO_DRIVER = 0,
SOUND_DRIVER = 1,