Get rid of forward declaration

This commit is contained in:
twinaphex 2020-08-04 01:37:18 +02:00
parent 4a6f49fc0a
commit ca328662d0

View File

@ -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;