From 247442c9392d8626217c3c670d9b2ced7f8378f6 Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Tue, 29 Sep 2015 16:09:34 +1000 Subject: Mark local functions in lexers as static. --- lexers/LexMySQL.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lexers/LexMySQL.cxx') diff --git a/lexers/LexMySQL.cxx b/lexers/LexMySQL.cxx index 951c3e3c3..4609619f4 100644 --- a/lexers/LexMySQL.cxx +++ b/lexers/LexMySQL.cxx @@ -331,7 +331,7 @@ static bool IsStreamCommentStyle(int style) * Code copied from StyleContext and modified to work here. Should go into Accessor as a * companion to Match()... */ -bool MatchIgnoreCase(Accessor &styler, Sci_Position currentPos, const char *s) +static bool MatchIgnoreCase(Accessor &styler, Sci_Position currentPos, const char *s) { for (Sci_Position n = 0; *s; n++) { -- cgit v1.2.3