Skip to content

Commit 57949c4

Browse files
ifranzkijschmidb
authored andcommitted
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 <ifranzki@linux.ibm.com>
1 parent 58df52f commit 57949c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/ica_api.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -3370,7 +3370,7 @@ typedef struct kma_ctx_t kma_ctx;
33703370
* NULL if no memory could be allocated.
33713371
*/
33723372
ICA_EXPORT
3373-
kma_ctx* ica_aes_gcm_kma_ctx_new();
3373+
kma_ctx* ica_aes_gcm_kma_ctx_new(void);
33743374

33753375
/**
33763376
* Initialize the GCM context. This description applies to both,

0 commit comments

Comments
 (0)