mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-22 12:07:16 +01:00
Make some OSX-only functions static
Gets rid of function prototype warnings.
This commit is contained in:
parent
c0c835d0b6
commit
fd39454ad3
@ -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…
x
Reference in New Issue
Block a user