forked from mirror/OpenTTD
(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:
5
win32.c
5
win32.c
@@ -4,7 +4,6 @@
|
||||
#include "openttd.h"
|
||||
#include "debug.h"
|
||||
#include "functions.h"
|
||||
#include "hal.h"
|
||||
#include "macros.h"
|
||||
#include "saveload.h"
|
||||
#include "string.h"
|
||||
@@ -706,10 +705,6 @@ int closedir(DIR *d)
|
||||
return 0;
|
||||
}
|
||||
|
||||
extern char *_fios_path;
|
||||
extern FiosItem *_fios_items;
|
||||
extern int _fios_count, _fios_alloc;
|
||||
|
||||
bool FiosIsRoot(const char *file)
|
||||
{
|
||||
return file[3] == '\0'; // C:\...
|
||||
|
Reference in New Issue
Block a user