Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Sep 2022 01:29:24 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: dda082e00939 - main - qat: make function definition match prototype
Message-ID:  <202209060129.2861TOP2091193@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209060129.2861TOP2091193>