Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jun 2021 13:35:38 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: 4814dbd3c0e6 - stable/13 - rpcsec_gss: Use a designated initializer for rpc_gss_ops
Message-ID:  <202106021335.152DZc6G012037@gitrepo.freebsd.org>

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

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

commit 4814dbd3c0e6fc02014f145bd54b3b854162e4e4
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:34:41 +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?202106021335.152DZc6G012037>