summaryrefslogtreecommitdiff
path: root/os2.c
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2006-08-05 00:59:45 +0000
committerDarkvater <Darkvater@openttd.org>2006-08-05 00:59:45 +0000
commit97c3b5cad8b79596b5ef2a5151af25b9fbb87467 (patch)
tree6c1c325e24d7182ffd6868b3118786d9a3bcf41d /os2.c
parent54f199e495e17e011f4b24aa1b294b5e99235ce5 (diff)
downloadopenttd-97c3b5cad8b79596b5ef2a5151af25b9fbb87467.tar.xz
(svn r5767) - Cleanup: Improve upon the header file mess regarding fios. Move all relevant types from hal.h into fios.h, eliminate the unneccessary passing of a global variable, and extern variables in header files (declare in fios.c and misc_gui.c
Diffstat (limited to 'os2.c')
-rw-r--r--os2.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/os2.c b/os2.c
index 3783d493e..18dcf9f0f 100644
--- a/os2.c
+++ b/os2.c
@@ -2,7 +2,6 @@
#include "stdafx.h"
#include "openttd.h"
-#include "hal.h"
#include "variables.h"
#include "string.h"
#include "table/strings.h"
@@ -24,11 +23,7 @@
#include <os2.h>
#include <i86.h>
-extern char *_fios_path;
-extern FiosItem *_fios_items;
-extern int _fios_count, _fios_alloc;
-
-bool FioIsRoot(const char *path)
+bool FiosIsRoot(const char *file)
{
return path[3] == '\0';
}