diff --git a/frontend/frontend_console.c b/frontend/frontend_console.c index 44e16cfd93..102b6b70a9 100644 --- a/frontend/frontend_console.c +++ b/frontend/frontend_console.c @@ -20,7 +20,6 @@ #include #include "../config.def.h" -#include "frontend_console.h" #include "menu/rmenu.h" #if defined(__CELLOS_LV2__) @@ -42,22 +41,13 @@ default_paths_t default_paths; -static void verbose_log_init(void) -{ - if (g_extern.verbose) - return; - - g_extern.verbose = true; - RARCH_LOG("Turning on verbose logging...\n"); -} - static inline void inl_logger_init(void) { #if defined(HAVE_LOGGER) - verbose_log_init(); + g_extern.verbose = true; logger_init(); #elif defined(HAVE_FILE_LOGGER) - verbose_log_init(); + g_extern.verbose = true; g_extern.log_file = fopen("/retroarch-log.txt", "w"); #endif } @@ -127,7 +117,7 @@ int rarch_main(int argc, char *argv[]) rarch_main_clear_state(); - verbose_log_init(); + g_extern.verbose = true; get_environment_settings(argc, argv); config_load(); diff --git a/frontend/frontend_console.h b/frontend/frontend_console.h deleted file mode 100644 index ccb6d3cff7..0000000000 --- a/frontend/frontend_console.h +++ /dev/null @@ -1,30 +0,0 @@ -/* RetroArch - A frontend for libretro. - * Copyright (C) 2010-2013 - Hans-Kristian Arntzen - * Copyright (C) 2011-2013 - Daniel De Matteis - * - * RetroArch is free software: you can redistribute it and/or modify it under the terms - * of the GNU General Public License as published by the Free Software Found- - * ation, either version 3 of the License, or (at your option) any later version. - * - * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; - * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with RetroArch. - * If not, see . - */ - -#ifndef _FRONTEND_CONSOLE_H -#define _FRONTEND_CONSOLE_H - -//optional RetroArch forward declarations -static void verbose_log_init(void); - -#ifdef IS_SALAMANDER -//optional Salamander forward declarations -static void find_first_libretro_core(char *first_file, - size_t size_of_first_file, const char *dir, - const char * ext); -#endif - -#endif diff --git a/frontend/frontend_salamander.h b/frontend/frontend_salamander.h index 16e33b7dc3..d4773c82e8 100644 --- a/frontend/frontend_salamander.h +++ b/frontend/frontend_salamander.h @@ -17,9 +17,6 @@ #ifndef _FRONTEND_SALAMANDER_H #define _FRONTEND_SALAMANDER_H -//optional RetroArch forward declarations -static void verbose_log_init(void); - //optional Salamander forward declarations static void find_first_libretro_core(char *first_file, size_t size_of_first_file, const char *dir,