From a8849f87f15b6ef5de3b730b90bb9000106766da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Thu, 7 Sep 2017 20:35:17 +0200 Subject: [PATCH] Core: Fix warnings Fixes two -Wmissing-declarations warnings --- Source/Core/Core/WiiUtils.cpp | 2 +- Source/Core/DolphinQt2/Main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/WiiUtils.cpp b/Source/Core/Core/WiiUtils.cpp index c58cc9d65c..14d2024dd0 100644 --- a/Source/Core/Core/WiiUtils.cpp +++ b/Source/Core/Core/WiiUtils.cpp @@ -46,7 +46,7 @@ namespace WiiUtils { -bool InstallWAD(IOS::HLE::Kernel& ios, const DiscIO::WiiWAD& wad) +static bool InstallWAD(IOS::HLE::Kernel& ios, const DiscIO::WiiWAD& wad) { if (!wad.IsValid()) { diff --git a/Source/Core/DolphinQt2/Main.cpp b/Source/Core/DolphinQt2/Main.cpp index c991469d28..e00889ab65 100644 --- a/Source/Core/DolphinQt2/Main.cpp +++ b/Source/Core/DolphinQt2/Main.cpp @@ -21,7 +21,7 @@ #include "UICommon/CommandLineParse.h" #include "UICommon/UICommon.h" -bool QtMsgAlertHandler(const char* caption, const char* text, bool yes_no, MsgType style) +static bool QtMsgAlertHandler(const char* caption, const char* text, bool yes_no, MsgType style) { return RunOnObject(QApplication::instance(), [&] { QMessageBox message_box(QApplication::activeWindow());