diff options
author | chriseth <chris@ethereum.org> | 2017-08-29 20:07:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-29 20:07:24 +0800 |
commit | 2d39a42d37cd03e62d0295e8137f2c411b9b1b9f (patch) | |
tree | 40f0db81ff5be70cf999708b8094b1cd896cd66f /lllc/main.cpp | |
parent | 21bc6fd3051e2a751767ebd7ac3acaa9ed8ba112 (diff) | |
parent | 7fb4a64136af18f2b61aef71ecc33ccbbc790ec6 (diff) | |
download | dexon-solidity-2d39a42d37cd03e62d0295e8137f2c411b9b1b9f.tar.gz dexon-solidity-2d39a42d37cd03e62d0295e8137f2c411b9b1b9f.tar.zst dexon-solidity-2d39a42d37cd03e62d0295e8137f2c411b9b1b9f.zip |
Merge pull request #2843 from ethereum/anonymous-cleanup
Move all file specific globals to anonymous namespace
Diffstat (limited to 'lllc/main.cpp')
-rw-r--r-- | lllc/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lllc/main.cpp b/lllc/main.cpp index adf181c7..06a0fc81 100644 --- a/lllc/main.cpp +++ b/lllc/main.cpp @@ -39,7 +39,7 @@ static string const VersionString = (string(SOL_VERSION_PRERELEASE).empty() ? "" : "-" + string(SOL_VERSION_PRERELEASE)) + (string(SOL_VERSION_BUILDINFO).empty() ? "" : "+" + string(SOL_VERSION_BUILDINFO)); -void help() +static void help() { cout << "Usage lllc [OPTIONS] <file>" << endl @@ -54,7 +54,7 @@ void help() exit(0); } -void version() +static void version() { cout << "LLLC, the Lovely Little Language Compiler " << endl; cout << "Version: " << VersionString << endl; @@ -74,7 +74,7 @@ specified default locale if it is valid, and if not then it will modify the environment the process is running in to use a sensible default. This also means that users do not need to install language packs for their OS. */ -void setDefaultOrCLocale() +static void setDefaultOrCLocale() { #if __unix__ if (!std::setlocale(LC_ALL, "")) |