Merge pull request #1426 from lioncash/osx

Make some OSX-only functions static
This commit is contained in:
comex 2014-10-28 16:16:03 -04:00
commit 1c32a3f77c
3 changed files with 4 additions and 4 deletions

View File

@ -61,7 +61,7 @@ bool CEXIETHERNET::SendFrame(u8* frame, u32 size)
} }
} }
void ReadThreadHandler(CEXIETHERNET* self) static void ReadThreadHandler(CEXIETHERNET* self)
{ {
while (true) while (true)
{ {

View File

@ -91,7 +91,7 @@ void UninstallExceptionHandler() {}
#elif defined(__APPLE__) && !defined(USE_SIGACTION_ON_APPLE) #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) 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"); Common::SetCurrentThreadName("Mach exception thread");
#pragma pack(4) #pragma pack(4)

View File

@ -108,7 +108,7 @@ void DeviceElementDebugPrint(const void *value, void *context)
} }
} }
void DeviceDebugPrint(IOHIDDeviceRef device) static void DeviceDebugPrint(IOHIDDeviceRef device)
{ {
#if 0 #if 0
#define shortlog(x) NSLog(@"%s: %@", \ #define shortlog(x) NSLog(@"%s: %@", \