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
commita9251d2d02a17467343284442ee6857012e27c31 (patch)
tree6c1c325e24d7182ffd6868b3118786d9a3bcf41d /os2.c
parent198f6caf20bf425bd1d3c8b91291f58213f6b60b (diff)
downloadopenttd-a9251d2d02a17467343284442ee6857012e27c31.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';
}