Strict prototype warnings removing.
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 1 Mar 2018 23:16:27 +0000 (00:16 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 1 Mar 2018 23:16:27 +0000 (00:16 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
lexer/lexical_analyzer.c
lexer/lexical_analyzer.h
lexer/syntactic_analyzer.c
lexer/syntactic_analyzer.h

index 32efd0b5af735e648418568d72c43339dae6b10d..9761aceaaa90b98f307d0b6e8ac46d4f241bc3fb 100644 (file)
@@ -46,7 +46,7 @@ static bool isEOF() {
     return false;
 }
 
-int scanner() {
+int scanner(void) {
     tokenValue[0] = 0;
     unsigned int i = 0;
     wchar_t m[6];
index ec9272e36fbe8106c13ca557fec4117bdb078d97..d3ebad751c69368449a55d23011fc06df9678227 100644 (file)
@@ -1,6 +1,6 @@
 #ifndef LEXICAL_ANALYZER_H_
 #define LEXICAL_ANALYZER_H_
 
-int scanner();
+int scanner(void);
 
 #endif /* LEXICAL_ANALYZER_H_ */
index b9787df6976e51eccc1a8d9a1dd7baae08e43e8c..24ff57a646b551360563403d526d9c939b53ce87 100644 (file)
@@ -194,7 +194,7 @@ static void analyze_BODY() {
     #endif
 }
 
-void analyze_AXIOME() {
+void analyze_AXIOME(void) {
     #if DEBUG
     fprintf(stdout, "entering %s\n", __func__);
     #endif
index 92598415fe575a4efd7118056c2c6f07077695e0..209dd195e656f4f2704bff6d97eb30faa1f3de3e 100644 (file)
@@ -3,6 +3,6 @@
 
 /* Syntactic analyzer functions declarations */
 
-void analyze_AXIOME();
+void analyze_AXIOME(void);
 
 #endif /* SYNTACTIC_ANALYZER_H_ */