summaryrefslogtreecommitdiff
path: root/Source/Core/Common/ArmCPUDetect.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-09-23 07:51:14 -0400
committerLioncash <mathew1800@gmail.com>2014-09-23 07:51:14 -0400
commitbdd185358685ed158450648b7660e1e6de662a36 (patch)
tree1486f64f5740e904f64099a292a7df633d9c4501 /Source/Core/Common/ArmCPUDetect.cpp
parentcbf102794eee35e385cf45f55458254ad802e6c2 (diff)
parent3168361e32ea051828d9025049b0358771e5ff8a (diff)
Merge pull request #1149 from rohit-n/android-warnings
Android: Silence some more warnings.
Diffstat (limited to 'Source/Core/Common/ArmCPUDetect.cpp')
-rw-r--r--Source/Core/Common/ArmCPUDetect.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/Common/ArmCPUDetect.cpp b/Source/Core/Common/ArmCPUDetect.cpp
index 8e324af868..7935577ebc 100644
--- a/Source/Core/Common/ArmCPUDetect.cpp
+++ b/Source/Core/Common/ArmCPUDetect.cpp
@@ -14,7 +14,7 @@
#if !defined(BLACKBERRY) && !defined(IOS) && !defined(__SYMBIAN32__)
const char procfile[] = "/proc/cpuinfo";
-std::string GetCPUString()
+static std::string GetCPUString()
{
const std::string marker = "Hardware\t: ";
std::string cpu_string = "Unknown";
@@ -38,7 +38,7 @@ std::string GetCPUString()
return cpu_string;
}
-unsigned char GetCPUImplementer()
+static unsigned char GetCPUImplementer()
{
const std::string marker = "CPU implementer\t: ";
unsigned char implementer = 0;
@@ -62,7 +62,7 @@ unsigned char GetCPUImplementer()
return implementer;
}
-unsigned short GetCPUPart()
+static unsigned short GetCPUPart()
{
const std::string marker = "CPU part\t: ";
unsigned short part = 0;
@@ -86,7 +86,7 @@ unsigned short GetCPUPart()
return part;
}
-bool CheckCPUFeature(const std::string& feature)
+static bool CheckCPUFeature(const std::string& feature)
{
const std::string marker = "Features\t: ";
@@ -115,7 +115,7 @@ bool CheckCPUFeature(const std::string& feature)
}
#endif
-int GetCoreCount()
+static int GetCoreCount()
{
#ifdef __SYMBIAN32__
return 1;