filesystem: make g_api const
This commit is contained in:
parent
09a7585643
commit
2a394eee62
2 changed files with 2 additions and 2 deletions
|
@ -2999,7 +2999,7 @@ static qboolean FS_InitInterface( int version, fs_interface_t *engfuncs )
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
fs_api_t g_api =
|
const fs_api_t g_api =
|
||||||
{
|
{
|
||||||
FS_InitStdio,
|
FS_InitStdio,
|
||||||
FS_ShutdownStdio,
|
FS_ShutdownStdio,
|
||||||
|
|
|
@ -123,7 +123,7 @@ extern fs_interface_t g_engfuncs;
|
||||||
extern qboolean fs_ext_path;
|
extern qboolean fs_ext_path;
|
||||||
extern char fs_rodir[MAX_SYSPATH];
|
extern char fs_rodir[MAX_SYSPATH];
|
||||||
extern char fs_rootdir[MAX_SYSPATH];
|
extern char fs_rootdir[MAX_SYSPATH];
|
||||||
extern fs_api_t g_api;
|
extern const fs_api_t g_api;
|
||||||
extern const fs_archive_t g_archives[];
|
extern const fs_archive_t g_archives[];
|
||||||
|
|
||||||
#define GI FI.GameInfo
|
#define GI FI.GameInfo
|
||||||
|
|
Loading…
Add table
Reference in a new issue