From 69b351f5153ec6635b66fd06f51225c6716f2483 Mon Sep 17 00:00:00 2001 From: Ingo Franzki Date: Mon, 28 Apr 2025 09:49:01 +0200 Subject: [PATCH] Fix declaration of ica_aes_gcm_kma_ctx_new in ica_api.h header When building an application that includes ica_api.h with -Wstrict-prototypes, then this shows warnings/errors for the ica_aes_gcm_kma_ctx_new() declaration in ica_api.h. The declaration in ica_api.h is anyway different that the one used in ica_api.c: ica_api.h: ICA_EXPORT kma_ctx* ica_aes_gcm_kma_ctx_new(); ica_api.c: kma_ctx* ica_aes_gcm_kma_ctx_new(void) Signed-off-by: Ingo Franzki --- include/ica_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ica_api.h b/include/ica_api.h index dcd1693..d22031d 100644 --- a/include/ica_api.h +++ b/include/ica_api.h @@ -3370,7 +3370,7 @@ typedef struct kma_ctx_t kma_ctx; * NULL if no memory could be allocated. */ ICA_EXPORT -kma_ctx* ica_aes_gcm_kma_ctx_new(); +kma_ctx* ica_aes_gcm_kma_ctx_new(void); /** * Initialize the GCM context. This description applies to both,