diff options
author | Pavel Janík <Pavel@Janik.cz> | 2016-06-07 18:42:42 +0200 |
---|---|---|
committer | Pavel Janík <Pavel@Janik.cz> | 2016-08-25 15:02:26 +0200 |
commit | de1bbe3b7876e311ebba5445b7b251782c0a7e0a (patch) | |
tree | c4908b0d4f507b82a4bd3c881ef0da1a8ba057f2 /src/rpc/register.h | |
parent | 1030fa718c59c29d3208af13e853457b7ac59d2e (diff) |
Do not shadow global RPC table variable (tableRPC)
Diffstat (limited to 'src/rpc/register.h')
-rw-r--r-- | src/rpc/register.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/rpc/register.h b/src/rpc/register.h index 01aa58a25d..49aee2365f 100644 --- a/src/rpc/register.h +++ b/src/rpc/register.h @@ -20,13 +20,13 @@ void RegisterMiningRPCCommands(CRPCTable &tableRPC); /** Register raw transaction RPC commands */ void RegisterRawTransactionRPCCommands(CRPCTable &tableRPC); -static inline void RegisterAllCoreRPCCommands(CRPCTable &tableRPC) +static inline void RegisterAllCoreRPCCommands(CRPCTable &t) { - RegisterBlockchainRPCCommands(tableRPC); - RegisterNetRPCCommands(tableRPC); - RegisterMiscRPCCommands(tableRPC); - RegisterMiningRPCCommands(tableRPC); - RegisterRawTransactionRPCCommands(tableRPC); + RegisterBlockchainRPCCommands(t); + RegisterNetRPCCommands(t); + RegisterMiscRPCCommands(t); + RegisterMiningRPCCommands(t); + RegisterRawTransactionRPCCommands(t); } #endif |