fix(clang15): remove unused var and fix func prototypes
Building with clang15 requires that function prototypes
must include void as parameter if there are no parameters.
Variables that are set but not used produce an error.
This patch addresses occurrences of these two issues.
Signed-off-by: Kathleen Capella <kathleen.capella@arm.com>
Change-Id: I676242c224e12b17ae9eba52d54c2becace50e62
diff --git a/test/hftest/service_common.c b/test/hftest/service_common.c
index f606bf5..69cc1e7 100644
--- a/test/hftest/service_common.c
+++ b/test/hftest/service_common.c
@@ -151,7 +151,7 @@
}
}
-ffa_vm_id_t hftest_get_dir_req_source_id()
+ffa_vm_id_t hftest_get_dir_req_source_id(void)
{
struct hftest_context *ctx = hftest_get_context();
return ctx->dir_req_source_id;