From b4b624b97b42a7bd60d4156becec128a22f7d0e8 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 11 Dec 2023 17:02:13 -0500 Subject: [PATCH] WC24PatchEngine: Mark LoadPatches() as static Resolves a -Wmissing-declaration warning, since no prototype existed for the function. --- Source/Core/Core/WC24PatchEngine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/WC24PatchEngine.cpp b/Source/Core/Core/WC24PatchEngine.cpp index aa62ac7580..b88ca5cb6a 100644 --- a/Source/Core/Core/WC24PatchEngine.cpp +++ b/Source/Core/Core/WC24PatchEngine.cpp @@ -81,7 +81,7 @@ void LoadPatchSection(const Common::IniFile& ini) ReadEnabledAndDisabled(ini, "WC24Patch", &s_patches); } -void LoadPatches() +static void LoadPatches() { const auto& sconfig = SConfig::GetInstance(); // We can only load WC24 Channels.