Turn function static

This commit is contained in:
twinaphex 2016-02-09 03:11:14 +01:00
parent ad4e633e11
commit a3fd1868c1
3 changed files with 9 additions and 12 deletions

View File

@ -536,6 +536,15 @@ static void xmb_update_boxart_path(xmb_handle_t *xmb, unsigned i)
strlcat(xmb->boxart_file_path, ".png", sizeof(xmb->boxart_file_path));
}
static void menu_display_handle_boxart_upload(void *task_data,
void *user_data, const char *err)
{
struct texture_image *img = (struct texture_image*)task_data;
menu_driver_load_image(img, MENU_IMAGE_BOXART);
video_texture_image_free(img);
free(img);
}
static void xmb_update_boxart_image(xmb_handle_t *xmb)
{
if (path_file_exists(xmb->boxart_file_path))

View File

@ -578,12 +578,3 @@ void menu_display_handle_wallpaper_upload(void *task_data,
video_texture_image_free(img);
free(img);
}
void menu_display_handle_boxart_upload(void *task_data,
void *user_data, const char *err)
{
struct texture_image *img = (struct texture_image*)task_data;
menu_driver_load_image(img, MENU_IMAGE_BOXART);
video_texture_image_free(img);
free(img);
}

View File

@ -183,9 +183,6 @@ void menu_display_matrix_4x4_rotate_z(
void menu_display_handle_wallpaper_upload(void *task_data,
void *user_data, const char *err);
void menu_display_handle_boxart_upload(void *task_data,
void *user_data, const char *err);
const float *menu_display_get_tex_coords(void);
extern menu_display_ctx_driver_t menu_display_ctx_gl;