Make some OSX-only functions static

Gets rid of function prototype warnings.
This commit is contained in:
Lioncash 2014-10-28 08:36:00 -04:00
parent c0c835d0b6
commit fd39454ad3
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)
{

View File

@ -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)

View File

@ -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: %@", \