summaryrefslogtreecommitdiff
path: root/console_cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'console_cmds.c')
-rw-r--r--console_cmds.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/console_cmds.c b/console_cmds.c
index 342fae159..898c07f6e 100644
--- a/console_cmds.c
+++ b/console_cmds.c
@@ -607,17 +607,7 @@ DEF_CONSOLE_CMD(ConReturn)
/* **************************** */
/* default console commands */
/* **************************** */
-bool CloseConsoleLogIfActive()
-{
- extern FILE* _iconsole_output_file;
- if (_iconsole_output_file != NULL) {
- IConsolePrintF(_iconsole_color_default, "file output complete");
- fclose(_iconsole_output_file);
- return true;
- }
-
- return false;
-}
+extern bool CloseConsoleLogIfActive(void);
DEF_CONSOLE_CMD(ConScript)
{