From 1801180a30c9129e7d08aae16a7b6096023039d5 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 29 Jan 2017 19:16:44 -0500 Subject: [PATCH] IOS STM: Get rid of forward declarations in the cpp file Forward declaring functions from a completely different header inside a cpp file can lead to linker errors. Forward declaring also doesn't really provide any benefit within cpp files unless it's to bring an internally linked function within the same file into scope. --- Source/Core/Core/IOS/STM/STM.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Source/Core/Core/IOS/STM/STM.cpp b/Source/Core/Core/IOS/STM/STM.cpp index ee66f5f98d..1330c42c65 100644 --- a/Source/Core/Core/IOS/STM/STM.cpp +++ b/Source/Core/Core/IOS/STM/STM.cpp @@ -10,14 +10,9 @@ #include "Common/Assert.h" #include "Common/ChunkFile.h" #include "Common/Logging/Log.h" +#include "Core/Core.h" #include "Core/HW/Memmap.h" -namespace Core -{ -void QueueHostJob(std::function job, bool run_during_stop); -void Stop(); -} - namespace IOS { namespace HLE