From 76369c4ff769bb48792df011b181430fb441fb9a Mon Sep 17 00:00:00 2001 From: xolatile Date: Sun, 17 Dec 2023 05:51:31 -0500 Subject: [PATCH] Changed log file... --- source/log.h | 2 ++ source/main.c | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/source/log.h b/source/log.h index d6029b1..8e894b9 100644 --- a/source/log.h +++ b/source/log.h @@ -2,6 +2,8 @@ #include +FILE * log_file; + static void log(const char * const message, const char * const color) { fputs(color, log_file); diff --git a/source/main.c b/source/main.c index f85a60d..bf6d31c 100644 --- a/source/main.c +++ b/source/main.c @@ -16,9 +16,6 @@ language_t language = DEFAULT_LANGUAGE; typedef void (*syntax_setter_t)(void); -#include -FILE * log_file; - #include "log.h" #include "syntax.h" #include "bot.h"