Turn menu_animation_ticker_generic into static function

This commit is contained in:
twinaphex 2015-09-06 16:36:38 +02:00
parent b19f14c042
commit f74eeeb464
2 changed files with 2 additions and 5 deletions

View File

@ -571,8 +571,8 @@ bool menu_animation_update(menu_animation_t *anim, float dt)
return true;
}
void menu_animation_ticker_generic(uint64_t idx, size_t max_width,
size_t *offset, size_t *width)
static void menu_animation_ticker_generic(uint64_t idx,
size_t max_width, size_t *offset, size_t *width)
{
int ticker_period, phase, phase_left_stop;
int phase_left_moving, phase_right_stop;

View File

@ -114,9 +114,6 @@ bool menu_animation_update(menu_animation_t *animation, float dt);
void menu_animation_ticker_str(char *s, size_t len, uint64_t tick,
const char *str, bool selected);
void menu_animation_ticker_generic(uint64_t idx, size_t max_width,
size_t *offset, size_t *width);
menu_animation_t *menu_animation_get_ptr(void);
void menu_animation_update_time(void);