summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/MainBase.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-07-11 16:37:42 +0200
committerPierre Bourdon <delroth@gmail.com>2014-07-11 16:37:42 +0200
commit84bf097fb76304eb27d625e5f221dfb5ce922b1f (patch)
tree57079ff88525dade11b2d1901357e221df6ddab7 /Source/Core/VideoCommon/MainBase.cpp
parent326af097d9708ea49d54996aec46a7fa328cec1e (diff)
parent7e79806efcd5c5e41efea89fa385b480ac1882f5 (diff)
Merge pull request #579 from degasus/statics
Mark unexported global variables and functions as statics.
Diffstat (limited to 'Source/Core/VideoCommon/MainBase.cpp')
-rw-r--r--Source/Core/VideoCommon/MainBase.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/MainBase.cpp b/Source/Core/VideoCommon/MainBase.cpp
index f3c916e047..f96201c92d 100644
--- a/Source/Core/VideoCommon/MainBase.cpp
+++ b/Source/Core/VideoCommon/MainBase.cpp
@@ -22,8 +22,8 @@ volatile u32 s_swapRequested = false;
u32 s_efbAccessRequested = false;
volatile u32 s_FifoShuttingDown = false;
-std::condition_variable s_perf_query_cond;
-std::mutex s_perf_query_lock;
+static std::condition_variable s_perf_query_cond;
+static std::mutex s_perf_query_lock;
static volatile bool s_perf_query_requested;
static volatile struct
@@ -66,7 +66,7 @@ void VideoBackendHardware::Video_SetRendering(bool bEnabled)
}
// Run from the graphics thread (from Fifo.cpp)
-void VideoFifo_CheckSwapRequest()
+static void VideoFifo_CheckSwapRequest()
{
if (g_ActiveConfig.bUseXFB)
{
@@ -177,7 +177,7 @@ static bool QueryResultIsReady()
return !s_perf_query_requested || s_FifoShuttingDown;
}
-void VideoFifo_CheckPerfQueryRequest()
+static void VideoFifo_CheckPerfQueryRequest()
{
if (s_perf_query_requested)
{