From b97dadd0e36e482aad3c410e56800ca8b4b5967b Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Mon, 20 Apr 2015 18:25:37 +0200 Subject: [PATCH] (iOS) Remove useless forward decl --- ui/drivers/ui_cocoatouch.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/drivers/ui_cocoatouch.m b/ui/drivers/ui_cocoatouch.m index 66a22dc49f..f5a27d0e4c 100644 --- a/ui/drivers/ui_cocoatouch.m +++ b/ui/drivers/ui_cocoatouch.m @@ -37,9 +37,8 @@ id apple_platform; static CFRunLoopObserverRef iterate_observer; -void main_exit_save_config(void); - -static void rarch_draw(CFRunLoopObserverRef observer, CFRunLoopActivity activity, void *info) +static void rarch_draw(CFRunLoopObserverRef observer, + CFRunLoopActivity activity, void *info) { runloop_t *runloop = rarch_main_get_ptr(); int ret = 0; @@ -532,7 +531,8 @@ static void ui_companion_cocoatouch_deinit(void *data) static void *ui_companion_cocoatouch_init(void) { - ui_companion_cocoatouch_t *handle = (ui_companion_cocoatouch_t*)calloc(1, sizeof(*handle)); + ui_companion_cocoatouch_t *handle = (ui_companion_cocoatouch_t*) + calloc(1, sizeof(*handle)); if (!handle) return NULL;