From 4dded0c76bfe1ee61f76264f2b2b82a5996f9b99 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 7 Jun 2016 17:07:11 +0200 Subject: [PATCH] Change signature of process_events --- ui/drivers/cocoa/ui_cocoa_application.m | 2 +- ui/drivers/null/ui_null_application.c | 2 +- ui/drivers/win32/ui_win32_application.c | 2 +- ui/ui_companion_driver.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/drivers/cocoa/ui_cocoa_application.m b/ui/drivers/cocoa/ui_cocoa_application.m index 74b2c5ebe7..d757b7ddf3 100644 --- a/ui/drivers/cocoa/ui_cocoa_application.m +++ b/ui/drivers/cocoa/ui_cocoa_application.m @@ -21,7 +21,7 @@ #include "../../ui_companion_driver.h" -static void ui_application_cocoa_process_events(void *data) +static void ui_application_cocoa_process_events(void) { } diff --git a/ui/drivers/null/ui_null_application.c b/ui/drivers/null/ui_null_application.c index 6704a22cec..6d49b0878c 100644 --- a/ui/drivers/null/ui_null_application.c +++ b/ui/drivers/null/ui_null_application.c @@ -21,7 +21,7 @@ #include "../../ui_companion_driver.h" -static void ui_application_null_process_events(void *data) +static void ui_application_null_process_events(void) { } diff --git a/ui/drivers/win32/ui_win32_application.c b/ui/drivers/win32/ui_win32_application.c index 2b0bf4b2f9..7120bb3173 100644 --- a/ui/drivers/win32/ui_win32_application.c +++ b/ui/drivers/win32/ui_win32_application.c @@ -21,7 +21,7 @@ #include "../../ui_companion_driver.h" -static void ui_application_win32_process_events(void *data) +static void ui_application_win32_process_events(void) { } diff --git a/ui/ui_companion_driver.h b/ui/ui_companion_driver.h index 44710f02af..4c0bcb5b71 100644 --- a/ui/ui_companion_driver.h +++ b/ui/ui_companion_driver.h @@ -33,7 +33,7 @@ RETRO_BEGIN_DECLS typedef struct ui_application { - void (*process_events)(void *data); + void (*process_events)(void); const char *ident; } ui_application_t;