aboutsummaryrefslogtreecommitdiff
path: root/rpc_client.c
diff options
context:
space:
mode:
authorFredrik Thulin <fredrik@thulin.net>2016-06-16 16:31:50 +0200
committerFredrik Thulin <fredrik@thulin.net>2016-06-16 16:31:50 +0200
commit52f1eb5c3dccd47d2434e0c7a302c23363790e1d (patch)
tree788cccf19c5dec657e633c1f26020f144def9603 /rpc_client.c
parent58c3a85cbe684632e9c51d82c037708adfc6dee1 (diff)
parent1c3e4894ea9f1a6f9bc6602e6454a6efd9562efa (diff)
Merge branch 'master' into ft-ks_flash
Diffstat (limited to 'rpc_client.c')
-rw-r--r--rpc_client.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/rpc_client.c b/rpc_client.c
index 3ac6d6e..c92571b 100644
--- a/rpc_client.c
+++ b/rpc_client.c
@@ -971,15 +971,14 @@ const hal_rpc_pkey_dispatch_t hal_rpc_mixed_pkey_dispatch = {
#endif /* RPC_CLIENT != RPC_CLIENT_LOCAL */
-#if RPC_CLIENT == RPC_CLIENT_LOCAL
-const hal_rpc_misc_dispatch_t * hal_rpc_misc_dispatch = &hal_rpc_local_misc_dispatch;
-const hal_rpc_hash_dispatch_t * hal_rpc_hash_dispatch = &hal_rpc_local_hash_dispatch;
-const hal_rpc_pkey_dispatch_t * hal_rpc_pkey_dispatch = &hal_rpc_local_pkey_dispatch;
-#elif RPC_CLIENT == RPC_CLIENT_REMOTE
+
+#if RPC_CLIENT == RPC_CLIENT_REMOTE
const hal_rpc_misc_dispatch_t * hal_rpc_misc_dispatch = &hal_rpc_remote_misc_dispatch;
const hal_rpc_hash_dispatch_t * hal_rpc_hash_dispatch = &hal_rpc_remote_hash_dispatch;
const hal_rpc_pkey_dispatch_t * hal_rpc_pkey_dispatch = &hal_rpc_remote_pkey_dispatch;
-#elif RPC_CLIENT == RPC_CLIENT_MIXED
+#endif
+
+#if RPC_CLIENT == RPC_CLIENT_MIXED
const hal_rpc_misc_dispatch_t * hal_rpc_misc_dispatch = &hal_rpc_remote_misc_dispatch;
const hal_rpc_hash_dispatch_t * hal_rpc_hash_dispatch = &hal_rpc_local_hash_dispatch;
const hal_rpc_pkey_dispatch_t * hal_rpc_pkey_dispatch = &hal_rpc_mixed_pkey_dispatch;