From cb36bc8d710ede7e685b349d0c84eb5cd343018e Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 21 Nov 2016 14:09:21 +0100 Subject: [PATCH] CLeanups --- menu/cbs/menu_cbs_sublabel.c | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/menu/cbs/menu_cbs_sublabel.c b/menu/cbs/menu_cbs_sublabel.c index 3e97dc171e..505e622f7b 100644 --- a/menu/cbs/menu_cbs_sublabel.c +++ b/menu/cbs/menu_cbs_sublabel.c @@ -14,12 +14,9 @@ */ #include -#include #include "../menu_driver.h" #include "../menu_cbs.h" -#include "../menu_navigation.h" -#include "../../file_path_special.h" #ifdef HAVE_CHEEVOS #include "../../cheevos.h" @@ -38,16 +35,6 @@ return 0; \ } - -static int action_bind_sublabel_generic( - file_list_t *list, - unsigned type, unsigned i, - const char *label, const char *path, - char *s, size_t len) -{ - return 0; -} - default_sublabel_macro(action_bind_sublabel_driver_settings_list, MENU_ENUM_SUBLABEL_DRIVER_SETTINGS) default_sublabel_macro(action_bind_sublabel_retro_achievements_settings_list, MENU_ENUM_SUBLABEL_RETRO_ACHIEVEMENTS_SETTINGS) default_sublabel_macro(action_bind_sublabel_recording_settings_list, MENU_ENUM_SUBLABEL_RECORDING_SETTINGS) @@ -114,6 +101,15 @@ static int action_bind_sublabel_cheevos_entry( return 0; } +static int action_bind_sublabel_generic( + file_list_t *list, + unsigned type, unsigned i, + const char *label, const char *path, + char *s, size_t len) +{ + return 0; +} + int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs, const char *path, const char *label, unsigned type, size_t idx) {