From 78855ccfe1cda5f920bfa981b4199f94e4c1b789 Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Tue, 29 Sep 2015 16:08:52 +1000 Subject: Mark local functions as static. --- src/Document.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Document.cxx') diff --git a/src/Document.cxx b/src/Document.cxx index 956664103..9201e162f 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -2141,7 +2141,7 @@ int Document::WordPartRight(int pos) { return pos; } -bool IsLineEndChar(char c) { +static bool IsLineEndChar(char c) { return (c == '\n' || c == '\r'); } -- cgit v1.2.3