Merge pull request #1426 from lioncash/osx
Make some OSX-only functions static
This commit is contained in:
commit
1c32a3f77c
|
@ -61,7 +61,7 @@ bool CEXIETHERNET::SendFrame(u8* frame, u32 size)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ReadThreadHandler(CEXIETHERNET* self)
|
static void ReadThreadHandler(CEXIETHERNET* self)
|
||||||
{
|
{
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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: %@", \
|
||||||
|
|
Loading…
Reference in New Issue