From dcf3c671314b36285277073c0a3d3a09bf4d93e6 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Mon, 24 Oct 2016 15:15:51 -0400 Subject: Make previous_uuid an input-only argument to hal_rpc_pkey_match(). In retrospect it's obvious that this never needed to be an input/output argument, as its value will always be the same as the last value in the returned array. Doh. So simplify the RPC and call sequence slightly by removing the unnecessary output value. --- rpc_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpc_api.c') diff --git a/rpc_api.c b/rpc_api.c index 3ff814a..28bc73e 100644 --- a/rpc_api.c +++ b/rpc_api.c @@ -348,7 +348,7 @@ hal_error_t hal_rpc_pkey_match(const hal_client_handle_t client, hal_uuid_t *result, unsigned *result_len, const unsigned result_max, - hal_uuid_t *previous_uuid) + const hal_uuid_t * const previous_uuid) { if ((attributes == NULL && attributes_len > 0) || previous_uuid == NULL || result == NULL || result_len == NULL || result_max == 0) -- cgit v1.2.3