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"