mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +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:
@@ -289,7 +289,7 @@ struct ProxyCredentials
|
||||
};
|
||||
|
||||
/** Convert SOCKS5 reply to an error message */
|
||||
std::string Socks5ErrorString(uint8_t err)
|
||||
static std::string Socks5ErrorString(uint8_t err)
|
||||
{
|
||||
switch(err) {
|
||||
case SOCKS5Reply::GENFAILURE:
|
||||
|
||||
Reference in New Issue
Block a user