summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-10-28 08:36:00 -0400
committerLioncash <mathew1800@gmail.com>2014-10-28 08:41:50 -0400
commitfd39454ad3db02cf702527442c97b364c8b6b991 (patch)
tree96ea8c3f869b178318b701462dc4c2cc32807c20 /Source/Core
parentc0c835d0b67152c95648dcd45bfa8c5ec4f19fec (diff)
Make some OSX-only functions static
Gets rid of function prototype warnings.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/HW/BBA-TAP/TAP_Apple.cpp2
-rw-r--r--Source/Core/Core/x64MemTools.cpp4
-rw-r--r--Source/Core/InputCommon/ControllerInterface/OSX/OSX.mm2
3 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/Core/HW/BBA-TAP/TAP_Apple.cpp b/Source/Core/Core/HW/BBA-TAP/TAP_Apple.cpp
index cb14f23e94..ab24dbb6a9 100644
--- a/Source/Core/Core/HW/BBA-TAP/TAP_Apple.cpp
+++ b/Source/Core/Core/HW/BBA-TAP/TAP_Apple.cpp
@@ -61,7 +61,7 @@ bool CEXIETHERNET::SendFrame(u8* frame, u32 size)
}
}
-void ReadThreadHandler(CEXIETHERNET* self)
+static void ReadThreadHandler(CEXIETHERNET* self)
{
while (true)
{
diff --git a/Source/Core/Core/x64MemTools.cpp b/Source/Core/Core/x64MemTools.cpp
index facc477d07..db7a307fc3 100644
--- a/Source/Core/Core/x64MemTools.cpp
+++ b/Source/Core/Core/x64MemTools.cpp
@@ -91,7 +91,7 @@ void UninstallExceptionHandler() {}
#elif defined(__APPLE__) && !defined(USE_SIGACTION_ON_APPLE)
-void CheckKR(const char* name, kern_return_t kr)
+static void CheckKR(const char* name, kern_return_t kr)
{
if (kr)
{
@@ -99,7 +99,7 @@ void CheckKR(const char* name, kern_return_t kr)
}
}
-void ExceptionThread(mach_port_t port)
+static void ExceptionThread(mach_port_t port)
{
Common::SetCurrentThreadName("Mach exception thread");
#pragma pack(4)
diff --git a/Source/Core/InputCommon/ControllerInterface/OSX/OSX.mm b/Source/Core/InputCommon/ControllerInterface/OSX/OSX.mm
index 9d73106c6e..9d6b974db7 100644
--- a/Source/Core/InputCommon/ControllerInterface/OSX/OSX.mm
+++ b/Source/Core/InputCommon/ControllerInterface/OSX/OSX.mm
@@ -108,7 +108,7 @@ void DeviceElementDebugPrint(const void *value, void *context)
}
}
-void DeviceDebugPrint(IOHIDDeviceRef device)
+static void DeviceDebugPrint(IOHIDDeviceRef device)
{
#if 0
#define shortlog(x) NSLog(@"%s: %@", \