summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/MainNoGUI.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-08-06 21:30:41 -0400
committerLioncash <mathew1800@gmail.com>2014-08-06 21:30:41 -0400
commit601a406e9550cb6d1ee1f7e4f728178ea49ed03f (patch)
treef0a862e99622cd700d9088bc69ba2451bd6288d4 /Source/Core/DolphinWX/MainNoGUI.cpp
parent470bfc9b0bd4c6600d162afb05c803efb3605ab2 (diff)
parentf927af20f2d62286a7d077cc6ef4e345819ecafc (diff)
Merge pull request #609 from Tilka/fix_warnings
Fix more warnings from #579
Diffstat (limited to 'Source/Core/DolphinWX/MainNoGUI.cpp')
-rw-r--r--Source/Core/DolphinWX/MainNoGUI.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/Source/Core/DolphinWX/MainNoGUI.cpp b/Source/Core/DolphinWX/MainNoGUI.cpp
index 6deebab93b..e8211a993f 100644
--- a/Source/Core/DolphinWX/MainNoGUI.cpp
+++ b/Source/Core/DolphinWX/MainNoGUI.cpp
@@ -41,15 +41,15 @@
#import <Cocoa/Cocoa.h>
#endif
-bool rendererHasFocus = true;
-bool running = true;
+static bool rendererHasFocus = true;
+static bool running = true;
void Host_NotifyMapLoaded() {}
void Host_RefreshDSPDebuggerWindow() {}
void Host_ShowJitResults(unsigned int address){}
-Common::Event updateMainFrameEvent;
+static Common::Event updateMainFrameEvent;
void Host_Message(int Id)
{
switch (Id)
@@ -109,8 +109,6 @@ bool Host_RendererHasFocus()
void Host_ConnectWiimote(int wm_idx, bool connect) {}
-void Host_SetWaitCursor(bool enable){}
-
void Host_UpdateStatusBar(const std::string& text, int filed){}
void Host_SysMessage(const char *fmt, ...)
@@ -137,7 +135,7 @@ void Host_SetWiiMoteConnectionState(int _State) {}
void Host_ShowVideoConfig(void*, const std::string&, const std::string&) {}
#if HAVE_X11
-void X11_MainLoop()
+static void X11_MainLoop()
{
bool fullscreen = SConfig::GetInstance().m_LocalCoreStartupParameter.bFullscreen;
while (!Core::IsRunning())
@@ -271,7 +269,7 @@ void X11_MainLoop()
#endif
#if HAVE_WAYLAND
-void Wayland_MainLoop()
+static void Wayland_MainLoop()
{
// Wait for display to be initialized
while (!GLWin.wl_display)