aboutsummaryrefslogtreecommitdiff
path: root/rpc_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpc_server.c')
-rw-r--r--rpc_server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rpc_server.c b/rpc_server.c
index a1bca26..65ba6bb 100644
--- a/rpc_server.c
+++ b/rpc_server.c
@@ -738,9 +738,11 @@ void hal_rpc_server_main(void)
* Dispatch vectors.
*/
+#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;
+#endif
hal_error_t hal_rpc_server_init(void)
{