Cleanup warnings of -Wmissing-declarations

Add static to the functions which is not intentionally
export to big scope.
This commit is contained in:
Jun Su 2020-03-23 15:59:19 +08:00
parent 62707986b7
commit b6ff15c130
3 changed files with 7 additions and 5 deletions

View file

@ -344,7 +344,7 @@ private:
const ControlState m_value{};
};
ParseResult MakeLiteralExpression(Token token)
static ParseResult MakeLiteralExpression(Token token)
{
ControlState val{};
if (TryParse(token.data, &val))