(Apple) platform_apple.c - process_events - returntype int

instead of void - fixes warning
This commit is contained in:
twinaphex 2013-11-09 01:51:00 +01:00
parent 611ca465fe
commit 99f3db5c78
1 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,7 @@ void apple_frontend_post_event(void (*fn)(void*), void* userdata)
pthread_mutex_unlock(&apple_event_queue_lock);
}
static void process_events(void *data)
static int process_events(void *data)
{
(void)data;
pthread_mutex_lock(&apple_event_queue_lock);
@ -59,6 +59,7 @@ static void process_events(void *data)
apple_event_queue_size = 0;
pthread_mutex_unlock(&apple_event_queue_lock);
return 0;
}
static void system_shutdown(bool force)