Move some header includes around

This commit is contained in:
twinaphex 2015-06-13 19:12:10 +02:00
parent 0f739f7e98
commit 098c8a6063
22 changed files with 60 additions and 8 deletions

View File

@ -13,7 +13,11 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <compat/strl.h>
#include "command_event.h"
#include "general.h"
#include "performance.h"
#include "runloop_data.h"
#include "runloop.h"
@ -24,6 +28,7 @@
#include "retroarch.h"
#include "dir_list_special.h"
#include "configuration.h"
#include "input/input_remapping.h"
#ifdef HAVE_MENU

View File

@ -16,10 +16,11 @@
#include <file/file_path.h>
#include "../menu.h"
#include "../menu_hash.h"
#include "../menu_displaylist.h"
#include "../../general.h"
#include "../../file_ext.h"
#include "../../gfx/video_shader_driver.h"
static int deferred_push_core_information(menu_displaylist_info_t *info)

View File

@ -20,6 +20,7 @@
#include "../menu_cbs.h"
#include "../menu_shader.h"
#include "../../general.h"
#include "../../performance.h"
#include "../../intl/intl.h"

View File

@ -13,7 +13,10 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <compat/strl.h>
#include "../menu.h"
#include "../menu_hash.h"
static int action_info_default(unsigned type, const char *label)
{

View File

@ -13,18 +13,21 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <compat/strl.h>
#include <file/file_path.h>
#include <rhash.h>
#include <retro_inline.h>
#include "../menu.h"
#include "../menu_display.h"
#include "../menu_hash.h"
#include "../menu_entry.h"
#include "../menu_setting.h"
#include "../menu_input.h"
#include "../menu_shader.h"
#include "../menu_navigation.h"
#include "../../general.h"
#include "../../retroarch.h"
#include "../../input/input_autodetect.h"

View File

@ -16,10 +16,13 @@
#include <file/file_path.h>
#include "../menu.h"
#include "../menu_hash.h"
#include "../menu_input.h"
#include "../menu_setting.h"
#include "../menu_shader.h"
#include "../menu_navigation.h"
#include "../../general.h"
#include "../../retroarch.h"

View File

@ -22,7 +22,9 @@
#include "../menu_entry.h"
#include "../menu_shader.h"
#include "../menu_navigation.h"
#include "../menu_hash.h"
#include "../../general.h"
#include "../../retroarch.h"
#include "../../runloop_data.h"
#include "../../input/input_remapping.h"

View File

@ -14,6 +14,7 @@
*/
#include "../menu.h"
#include "../menu_hash.h"
#include "../menu_displaylist.h"
static int action_refresh_default(file_list_t *list, file_list_t *menu_list)

View File

@ -16,10 +16,13 @@
#include <file/file_path.h>
#include "../menu.h"
#include "../menu_hash.h"
#include "../menu_input.h"
#include "../menu_setting.h"
#include "../menu_shader.h"
#include "../menu_navigation.h"
#include "../../general.h"
#include "../../retroarch.h"

View File

@ -15,9 +15,12 @@
#include "../menu.h"
#include "../menu_cbs.h"
#include "../menu_input.h"
#include "../menu_setting.h"
#include "../menu_shader.h"
#include "../menu_hash.h"
#include "../../general.h"
#include "../../retroarch.h"
#include "../../performance.h"

View File

@ -18,6 +18,9 @@
#include <file/file_path.h>
#include "../menu.h"
#include "../menu_hash.h"
#include "../../general.h"
static INLINE void replace_chars(char *str, char c1, char c2)
{

View File

@ -20,7 +20,9 @@
#include "menu_display.h"
#include "menu_entry.h"
#include "menu_shader.h"
#include "../dynamic.h"
#include "../general.h"
#include "../frontend/frontend.h"
#include "../../retroarch.h"
#include "../../performance.h"

View File

@ -23,10 +23,8 @@
#include <string.h>
#include <ctype.h>
#include <boolean.h>
#include "../../general.h"
#include "../../runloop.h"
#include "menu_input.h"
#include "menu_hash.h"
#include "../driver.h"
#if defined(HAVE_CG) || defined(HAVE_HLSL) || defined(HAVE_GLSL)
#ifndef HAVE_SHADER_MANAGER
@ -34,6 +32,10 @@
#endif
#endif
#ifndef GFX_MAX_PARAMETERS
#define GFX_MAX_PARAMETERS 64
#endif
#ifndef GFX_MAX_SHADERS
#define GFX_MAX_SHADERS 16
#endif

View File

@ -13,6 +13,8 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <compat/strl.h>
#include <string/string_list.h>
#include <rhash.h>
#include "menu.h"

View File

@ -22,16 +22,17 @@
#include <rhash.h>
#include "menu.h"
#include "menu_hash.h"
#include "menu_display.h"
#include "menu_displaylist.h"
#include "menu_navigation.h"
#include "menu_setting.h"
#include "../general.h"
#include "../retroarch.h"
#include "../gfx/video_shader_driver.h"
#include "../config.features.h"
#include "../retroarch.h"
#include "../git_version.h"
#include "../performance.h"
#ifdef HAVE_NETWORKING

View File

@ -19,7 +19,8 @@
#include "menu_navigation.h"
#include "menu_setting.h"
#include "menu_input.h"
#include "../runloop_data.h"
#include "../general.h"
/* Returns the starting index of the menu entry list. */
size_t menu_entries_get_start(void)

View File

@ -13,6 +13,9 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <compat/strl.h>
#include <string/string_list.h>
#include "menu.h"
#include "menu_display.h"
#include "menu_entry.h"

View File

@ -19,6 +19,8 @@
#include <stdint.h>
#include <boolean.h>
#include "menu_input.h"
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -32,6 +32,9 @@
#include "menu_setting.h"
#include "menu_shader.h"
#include "menu_navigation.h"
#include "menu_hash.h"
#include "./general.h"
#include "../cheats.h"
#include "../performance.h"
#include "../input/input_joypad.h"

View File

@ -19,9 +19,12 @@
#include <rhash.h>
#include "menu.h"
#include "menu_input.h"
#include "menu_setting.h"
#include "menu_hash.h"
#include "../driver.h"
#include "../general.h"
#include "../gfx/video_monitor.h"
#include "../dynamic.h"
#include "../input/input_autodetect.h"

View File

@ -18,6 +18,8 @@
#include <file/file_path.h>
#include <retro_inline.h>
#include "configuration.h"
#include "dynamic.h"
#include "performance.h"
#include "retroarch_logger.h"
@ -25,7 +27,9 @@
#include "retroarch.h"
#include "runloop.h"
#include "runloop_data.h"
#include "input/keyboard_line.h"
#include "input/input_common.h"
#ifdef HAVE_MENU
#include "menu/menu.h"

View File

@ -24,6 +24,7 @@
#ifdef HAVE_MENU
#include "menu/menu.h"
#include "menu/menu_input.h"
#endif
enum