diff --git a/menu/menu_animation.c b/menu/menu_animation.c index a6dd53e8cf..7b52027b73 100644 --- a/menu/menu_animation.c +++ b/menu/menu_animation.c @@ -51,9 +51,11 @@ struct menu_animation retro_time_t old_time; }; +typedef struct menu_animation menu_animation_t; + static menu_animation_t menu_animation_state; -menu_animation_t *menu_animation_get_ptr(void) +static menu_animation_t *menu_animation_get_ptr(void) { return &menu_animation_state; } diff --git a/menu/menu_animation.h b/menu/menu_animation.h index fb833fa7ec..5502e2dc79 100644 --- a/menu/menu_animation.h +++ b/menu/menu_animation.h @@ -33,8 +33,6 @@ extern "C" { typedef float (*easingFunc)(float, float, float, float); typedef void (*tween_cb) (void); -typedef struct menu_animation menu_animation_t; - enum menu_animation_easing_type { /* Linear */ @@ -107,8 +105,6 @@ bool menu_animation_update(float dt); void menu_animation_ticker_str(char *s, size_t len, uint64_t tick, const char *str, bool selected); -menu_animation_t *menu_animation_get_ptr(void); - void menu_animation_update_time(void); void menu_animation_set_active(void);