diff --git a/filesystem/filesystem.c b/filesystem/filesystem.c index a363cf04..c7f82d29 100644 --- a/filesystem/filesystem.c +++ b/filesystem/filesystem.c @@ -2999,7 +2999,7 @@ static qboolean FS_InitInterface( int version, fs_interface_t *engfuncs ) return true; } -fs_api_t g_api = +const fs_api_t g_api = { FS_InitStdio, FS_ShutdownStdio, diff --git a/filesystem/filesystem_internal.h b/filesystem/filesystem_internal.h index e2531177..315a10a0 100644 --- a/filesystem/filesystem_internal.h +++ b/filesystem/filesystem_internal.h @@ -123,7 +123,7 @@ extern fs_interface_t g_engfuncs; extern qboolean fs_ext_path; extern char fs_rodir[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[]; #define GI FI.GameInfo