Move menu_entries_set_current_path_selection to menu_entries.c
and make it static