Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jun 2021 13:37:16 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: ce8cbeaf39af - stable/12 - rpcsec_gss: Use a designated initializer for rpc_gss_ops
Message-ID:  <202106021337.152DbGg9012374@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by markj:

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

commit ce8cbeaf39afbc696b1936127fabea45681c0348
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2021-05-26 14:14:35 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2021-06-02 13:37:00 +0000

    rpcsec_gss: Use a designated initializer for rpc_gss_ops
    
    No functional change intended.
    
    MFC after:      1 week
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit ba5bc6e8f9cb9c523d09599d7290a6d75ec9fd8b)
---
 sys/rpc/rpcsec_gss/rpcsec_gss.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys/rpc/rpcsec_gss/rpcsec_gss.c b/sys/rpc/rpcsec_gss/rpcsec_gss.c
index 2eef1544b61a..b384a8347ef5 100644
--- a/sys/rpc/rpcsec_gss/rpcsec_gss.c
+++ b/sys/rpc/rpcsec_gss/rpcsec_gss.c
@@ -98,11 +98,11 @@ static void	rpc_gss_destroy(AUTH *);
 static void	rpc_gss_destroy_context(AUTH *, bool_t);
 
 static struct auth_ops rpc_gss_ops = {
-	rpc_gss_nextverf,
-	rpc_gss_marshal,
-	rpc_gss_validate,
-	rpc_gss_refresh,
-	rpc_gss_destroy,
+	.ah_nextverf =	rpc_gss_nextverf,
+	.ah_marshal =	rpc_gss_marshal,
+	.ah_validate =	rpc_gss_validate,
+	.ah_refresh =	rpc_gss_refresh,
+	.ah_destroy =	rpc_gss_destroy,
 };
 
 enum rpcsec_gss_state {



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