From 97c3b5cad8b79596b5ef2a5151af25b9fbb87467 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sat, 5 Aug 2006 00:59:45 +0000 Subject: (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 --- os2.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'os2.c') 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 #include -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'; } -- cgit v1.2.3-54-g00ecf