git: dda082e00939 - main - qat: make function definition match prototype

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Tue, 06 Sep 2022 01:29:24 UTC
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=dda082e0093936517795d386242ff9abcdaeff53

commit dda082e0093936517795d386242ff9abcdaeff53
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-09-06 01:24:07 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-09-06 01:24:58 +0000

    qat: make function definition match prototype
    
    LacSymCb_CallbacksRegister declared with a (void) argument list but was
    defined with ().  With Clang 15 this produced a warning.
    
    MFC after:      3 days
    Sponsored by:   The FreeBSD Foundation
---
 sys/dev/qat/qat_api/common/crypto/sym/lac_sym_cb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/qat/qat_api/common/crypto/sym/lac_sym_cb.c b/sys/dev/qat/qat_api/common/crypto/sym/lac_sym_cb.c
index 8fa0a798304e..01e9eca1f10a 100644
--- a/sys/dev/qat/qat_api/common/crypto/sym/lac_sym_cb.c
+++ b/sys/dev/qat/qat_api/common/crypto/sym/lac_sym_cb.c
@@ -520,7 +520,7 @@ cleanup:
  * @ingroup LacSymCb
  */
 void
-LacSymCb_CallbacksRegister()
+LacSymCb_CallbacksRegister(void)
 {
 	/*** HASH ***/
 	LacSymQat_RespHandlerRegister(ICP_QAT_FW_LA_CMD_AUTH,