mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-09-02 19:39:12 +00:00
(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
This commit is contained in:
7
os2.c
7
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';
|
||||
}
|
||||
|
Reference in New Issue
Block a user