summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2017-09-07 20:35:17 +0200
committerLéo Lam <leo@innovatetechnologi.es>2017-09-07 20:35:17 +0200
commita8849f87f15b6ef5de3b730b90bb9000106766da (patch)
tree8eb182f9fc2a31e72d6c2d743777aa01eef7228e /Source/Core
parent336a1857063e6aa20086e5c29d8092f0313b73b2 (diff)
Core: Fix warnings
Fixes two -Wmissing-declarations warnings
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/WiiUtils.cpp2
-rw-r--r--Source/Core/DolphinQt2/Main.cpp2
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());