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 committed 2020-03-24 20:16:10 +08:00
1 parent 62707986b7
commit b6ff15c130
3 files changed
+7 -5

No files matched your search

@@ -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))