From: Jérôme Benoit Date: Fri, 2 Mar 2018 17:16:25 +0000 (+0100) Subject: Add includes to avoid missing prototype warning. X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=2d2a5978e84c354bf8167a3ab0b1088d264049bf;p=TP_AL_C.git Add includes to avoid missing prototype warning. Signed-off-by: Jérôme Benoit --- diff --git a/lexer/lexical_analyzer.c b/lexer/lexical_analyzer.c index 9761ace..39c82e0 100644 --- a/lexer/lexical_analyzer.c +++ b/lexer/lexical_analyzer.c @@ -5,6 +5,7 @@ #include "global_vars.h" #include "print_helper.h" +#include "lexical_analyzer.h" wint_t c; diff --git a/lexer/syntactic_analyzer.c b/lexer/syntactic_analyzer.c index 24ff57a..0f1b181 100644 --- a/lexer/syntactic_analyzer.c +++ b/lexer/syntactic_analyzer.c @@ -4,8 +4,9 @@ #include #include "global_vars.h" -#include "lexical_analyzer.h" #include "print_helper.h" +#include "syntactic_analyzer.h" +#include "lexical_analyzer.h" #define PRINT_TOKEN 1