]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - lexer.c
Major export cleanup. Anything that was exported but wasn't used outside where it...
[xonotic/gmqcc.git] / lexer.c
diff --git a/lexer.c b/lexer.c
index 7722f4f5795f02ee6c355aa6ea1b172c89948440..035dc1b6d4b3577d9e2c731fe1989e951ffaf3d9 100644 (file)
--- 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;