diff options
author | Darkvater <Darkvater@openttd.org> | 2006-08-05 00:59:45 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-08-05 00:59:45 +0000 |
commit | 97c3b5cad8b79596b5ef2a5151af25b9fbb87467 (patch) | |
tree | 6c1c325e24d7182ffd6868b3118786d9a3bcf41d /os2.c | |
parent | 54f199e495e17e011f4b24aa1b294b5e99235ce5 (diff) | |
download | openttd-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.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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'; } |