Get rid of more general.h includes

This commit is contained in:
twinaphex 2016-09-01 18:01:41 +02:00
parent ce97d783a7
commit e106fd4374
13 changed files with 20 additions and 15 deletions

View File

@ -50,8 +50,8 @@
#include "cheevos.h"
#endif
#include "retroarch.h"
#include "runloop.h"
#include "configuration.h"
#include "general.h"
#include "msg_hash.h"
#include "verbosity.h"

View File

@ -50,7 +50,6 @@
#include "../frontend.h"
#include "../frontend_driver.h"
#include "../../defaults.h"
#include "../../general.h"
#include "../../retroarch.h"
#include "../../verbosity.h"
#include "platform_linux.h"

View File

@ -14,7 +14,6 @@
*/
#include "../../driver.h"
#include "../../general.h"
#include "../../runloop.h"
#include "../../frontend/frontend_driver.h"
#include "../common/vulkan_common.h"

View File

@ -25,7 +25,6 @@
#include <string/stdstring.h>
#include <streams/file_stream.h>
#include "../general.h"
#include "../msg_hash.h"
#include "../verbosity.h"
#include "video_shader_parse.h"

View File

@ -28,7 +28,7 @@
#include "../../cores/internal_cores.h"
#include "../../core_info.h"
#include "../../general.h"
#include "../../runloop.h"
#include "../../system.h"
#include "../../verbosity.h"

View File

@ -14,6 +14,7 @@
*/
#include <file/file_path.h>
#include <compat/strl.h>
#include <string/stdstring.h>
#include <lists/string_list.h>
@ -27,11 +28,12 @@
#include "../../input/input_config.h"
#include "../../core_info.h"
#include "../../configuration.h"
#include "../../file_path_special.h"
#include "../../managers/core_option_manager.h"
#include "../../managers/cheat_manager.h"
#include "../../general.h"
#include "../../performance_counters.h"
#include "../../runloop.h"
#include "../../system.h"
#include "../../intl/intl.h"

View File

@ -13,6 +13,7 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <compat/strl.h>
#include <file/file_path.h>
#include <string/stdstring.h>
#include <lists/string_list.h>
@ -28,8 +29,8 @@
#include "../../core_info.h"
#include "../../managers/cheat_manager.h"
#include "../../file_path_special.h"
#include "../../general.h"
#include "../../retroarch.h"
#include "../../runloop.h"
#include "../../system.h"
#ifndef BIND_ACTION_LEFT

View File

@ -13,6 +13,7 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <compat/strl.h>
#include <file/file_path.h>
#include <retro_assert.h>
#include <retro_stat.h>
@ -28,15 +29,17 @@
#include "../menu_navigation.h"
#include "../menu_content.h"
#include "../../configuration.h"
#include "../../core_info.h"
#include "../../frontend/frontend_driver.h"
#include "../../defaults.h"
#include "../../managers/cheat_manager.h"
#include "../../general.h"
#include "../../tasks/tasks_internal.h"
#include "../../input/input_remapping.h"
#include "../../retroarch.h"
#include "../../runloop.h"
#include "../../system.h"
#include "../../verbosity.h"
#include "../../lakka.h"
typedef struct

View File

@ -13,6 +13,7 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <compat/strl.h>
#include <file/file_path.h>
#include <lists/string_list.h>
#include <string/stdstring.h>
@ -25,11 +26,12 @@
#include "../menu_shader.h"
#include "../menu_navigation.h"
#include "../../configuration.h"
#include "../../core_info.h"
#include "../../managers/cheat_manager.h"
#include "../../file_path_special.h"
#include "../../general.h"
#include "../../retroarch.h"
#include "../../runloop.h"
#include "../../system.h"
#include "../../ui/ui_companion_driver.h"

View File

@ -13,6 +13,7 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <compat/strl.h>
#include <file/file_path.h>
#include <lists/string_list.h>
@ -26,8 +27,8 @@
#include "../../core_info.h"
#include "../../managers/core_option_manager.h"
#include "../../managers/cheat_manager.h"
#include "../../general.h"
#include "../../retroarch.h"
#include "../../runloop.h"
#include "../../system.h"
#include "../../performance_counters.h"

View File

@ -22,8 +22,6 @@
#include "../menu_driver.h"
#include "../menu_cbs.h"
#include "../../general.h"
#ifndef BIND_ACTION_GET_TITLE
#define BIND_ACTION_GET_TITLE(cbs, name) \
cbs->action_get_title = name; \

View File

@ -27,6 +27,7 @@
#include <stdlib.h>
#include <string.h>
#include <compat/strl.h>
#include <features/features_cpu.h>
#include <string/stdstring.h>
@ -39,9 +40,9 @@
#include "menu_shader.h"
#include "menu_navigation.h"
#include "../general.h"
#include "../managers/cheat_manager.h"
#include "../performance_counters.h"
#include "../configuration.h"
#include "../core.h"
#include "../input/input_joypad_driver.h"
#include "../input/input_remapping.h"

View File

@ -23,12 +23,12 @@
#include <unistd.h>
#endif
#include <compat/strl.h>
#include <features/features_cpu.h>
#include "performance_counters.h"
#include "general.h"
#include "compat/strl.h"
#include "runloop.h"
#include "verbosity.h"
#ifdef _WIN32