From 2c42912185e5810b481313ee753af813367e32fb Mon Sep 17 00:00:00 2001 From: libretroadmin Date: Mon, 5 Dec 2022 15:15:07 +0100 Subject: [PATCH] More header cleanups --- tasks/task_content.c | 13 ++++--------- tasks/task_database.c | 2 +- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/tasks/task_content.c b/tasks/task_content.c index 52f11c9167..9f686bcd11 100644 --- a/tasks/task_content.c +++ b/tasks/task_content.c @@ -84,24 +84,19 @@ #include "../command.h" #include "../core_info.h" #include "../content.h" +#include "../core.h" #include "../configuration.h" #include "../defaults.h" +#include "../dynamic.h" +#include "../file_path_special.h" #include "../frontend/frontend.h" +#include "../msg_hash.h" #include "../playlist.h" #include "../paths.h" #include "../retroarch.h" #include "../runloop.h" #include "../verbosity.h" -#include "../msg_hash.h" -#include "../content.h" -#include "../dynamic.h" -#include "../retroarch.h" -#include "../file_path_special.h" -#include "../core.h" -#include "../paths.h" -#include "../verbosity.h" - #ifdef HAVE_PRESENCE #include "../network/presence.h" #endif diff --git a/tasks/task_database.c b/tasks/task_database.c index edef9dc94f..c2a17093bc 100644 --- a/tasks/task_database.c +++ b/tasks/task_database.c @@ -251,7 +251,7 @@ static int task_database_cue_get_serial(const char *name, char* serial, size_t s track_path[0] = '\0'; if (cue_find_track(name, true, &offset, &size, track_path, -sizeof(track_path)) < 0) + sizeof(track_path)) < 0) { #ifdef DEBUG RARCH_LOG("%s\n",