diff options
author | Christof Schmitt <cs@samba.org> | 2019-11-11 13:08:28 -0700 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2019-11-19 12:02:02 +0000 |
commit | 060ff2dd504e1e4b2e4f6daf456cdd38b8879337 (patch) | |
tree | 4f0903d75582bef4bb210170b1eb55ca1293b351 /nsswitch | |
parent | 95f267704e70171a5dbf5784c745de07c2c1b001 (diff) | |
download | samba-060ff2dd504e1e4b2e4f6daf456cdd38b8879337.tar.gz |
krb5_plugin: Use C99 initializer
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14179
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 1aef796e302058ad3327613964fa89abaf940c1c)
Diffstat (limited to 'nsswitch')
-rw-r--r-- | nsswitch/krb5_plugin/winbind_krb5_locator.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nsswitch/krb5_plugin/winbind_krb5_locator.c b/nsswitch/krb5_plugin/winbind_krb5_locator.c index 518c871b248..a31c0822370 100644 --- a/nsswitch/krb5_plugin/winbind_krb5_locator.c +++ b/nsswitch/krb5_plugin/winbind_krb5_locator.c @@ -409,10 +409,10 @@ static krb5_error_code smb_krb5_locator_lookup(void *private_data, #endif const krb5plugin_service_locate_ftable SMB_KRB5_LOCATOR_SYMBOL_NAME = { - 0, /* version */ - smb_krb5_locator_init, - smb_krb5_locator_close, - smb_krb5_locator_lookup, + .minor_version = 0, + .init = smb_krb5_locator_init, + .fini = smb_krb5_locator_close, + .lookup = smb_krb5_locator_lookup, }; #endif |