From ca328662d02205d5cd1aed14e2ba8e8e670420bf Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 4 Aug 2020 01:37:18 +0200 Subject: [PATCH] Get rid of forward declaration --- gfx/gfx_animation.c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/gfx/gfx_animation.c b/gfx/gfx_animation.c index 13819f871b..4b8e5cc622 100644 --- a/gfx/gfx_animation.c +++ b/gfx/gfx_animation.c @@ -86,9 +86,11 @@ static const float ticker_pixel_period = (1.0f / 60.0f) * 1000.0f; static const char ticker_spacer_default[] = TICKER_SPACER_DEFAULT; /* Forward declarations */ + +/* By default, this should be a NOOP */ static void gfx_animation_update_time_default( - float *dst, - unsigned video_width, unsigned video_height); + float *ticker_pixel_increment, + unsigned video_width, unsigned video_height) { } static update_time_cb update_time_callback = gfx_animation_update_time_default; @@ -1206,13 +1208,6 @@ bool gfx_animation_push(gfx_animation_ctx_entry_t *entry) return true; } -static void gfx_animation_update_time_default( - float *ticker_pixel_increment, - unsigned video_width, unsigned video_height) -{ - /* By default, this should be a NOOP */ -} - void gfx_animation_set_update_time_cb(update_time_cb cb) { update_time_callback = cb;