X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=lexer.c;h=035dc1b6d4b3577d9e2c731fe1989e951ffaf3d9;hp=7722f4f5795f02ee6c355aa6ea1b172c89948440;hb=f892b323351eb110dc97b8cf4e15d03dddc6fb78;hpb=df8b486c98750ee719ddb88a6bb9b90f1e7557d8 diff --git a/lexer.c b/lexer.c index 7722f4f..035dc1b 100644 --- a/lexer.c +++ b/lexer.c @@ -60,7 +60,7 @@ static size_t num_keywords_fg = sizeof(keywords_fg) / sizeof(keywords_fg[0]); static char* *lex_filenames; -void lexerror(lex_file *lex, const char *fmt, ...) +static void lexerror(lex_file *lex, const char *fmt, ...) { va_list ap; @@ -72,7 +72,7 @@ void lexerror(lex_file *lex, const char *fmt, ...) va_end(ap); } -bool lexwarn(lex_file *lex, int warntype, const char *fmt, ...) +static bool lexwarn(lex_file *lex, int warntype, const char *fmt, ...) { bool r; lex_ctx ctx;