mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Android: Silence some more warnings.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user