From 1e375f9ecf379a381fa003e7ec1c44c06849c517 Mon Sep 17 00:00:00 2001 From: Misa Date: Sat, 3 Apr 2021 02:11:02 -0700 Subject: [PATCH] Un-export FILESYSTEM_mount() This function is never used outside of FileSystemUtils.cpp; there is no reason to export it. --- desktop_version/src/FileSystemUtils.cpp | 2 +- desktop_version/src/FileSystemUtils.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/desktop_version/src/FileSystemUtils.cpp b/desktop_version/src/FileSystemUtils.cpp index 1c24c266..fdd79a35 100644 --- a/desktop_version/src/FileSystemUtils.cpp +++ b/desktop_version/src/FileSystemUtils.cpp @@ -213,7 +213,7 @@ static bool FILESYSTEM_exists(const char *fname) return PHYSFS_exists(fname); } -void FILESYSTEM_mount(const char *fname) +static void FILESYSTEM_mount(const char *fname) { const char* real_dir = PHYSFS_getRealDir(fname); const char* dir_separator; diff --git a/desktop_version/src/FileSystemUtils.h b/desktop_version/src/FileSystemUtils.h index fd6b6d81..5efcdc2c 100644 --- a/desktop_version/src/FileSystemUtils.h +++ b/desktop_version/src/FileSystemUtils.h @@ -15,7 +15,6 @@ char *FILESYSTEM_getUserLevelDirectory(void); bool FILESYSTEM_isFile(const char* filename); bool FILESYSTEM_isMounted(const char* filename); -void FILESYSTEM_mount(const char *fname); void FILESYSTEM_loadZip(const char* filename); void FILESYSTEM_mountassets(const char *path); void FILESYSTEM_unmountassets(void);