mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-14 06:32:33 +01:00
Make it clear which functions that are intended to be translation unit local
Do not share functions that are meant to be translation unit local with other translation units. Use internal linkage for those consistently.
This commit is contained in:
@@ -239,7 +239,7 @@ UniValue stop(const JSONRPCRequest& jsonRequest)
|
||||
return "Bitcoin server stopping";
|
||||
}
|
||||
|
||||
UniValue uptime(const JSONRPCRequest& jsonRequest)
|
||||
static UniValue uptime(const JSONRPCRequest& jsonRequest)
|
||||
{
|
||||
if (jsonRequest.fHelp || jsonRequest.params.size() > 1)
|
||||
throw std::runtime_error(
|
||||
|
||||
Reference in New Issue
Block a user