krb5/aname_to_localname.c: Constify plugin stuff.

This commit is contained in:
Taylor R Campbell
2023-05-28 21:07:25 +00:00
committed by Nico Williams
parent 6630cf5889
commit da5730a4b0

View File

@@ -44,7 +44,7 @@ static krb5_error_code KRB5_LIB_CALL an2ln_def_plug_an2ln(void *, krb5_context,
krb5_const_principal, set_result_f, krb5_const_principal, set_result_f,
void *); void *);
static krb5plugin_an2ln_ftable an2ln_def_plug = { static const krb5plugin_an2ln_ftable an2ln_def_plug = {
0, 0,
an2ln_def_plug_init, an2ln_def_plug_init,
an2ln_def_plug_fini, an2ln_def_plug_fini,
@@ -81,9 +81,9 @@ plcallback(krb5_context context,
return locate->an2ln(plugctx, context, plctx->rule, plctx->aname, set_res, plctx); return locate->an2ln(plugctx, context, plctx->rule, plctx->aname, set_res, plctx);
} }
static const char *an2ln_plugin_deps[] = { "krb5", NULL }; static const char *const an2ln_plugin_deps[] = { "krb5", NULL };
static struct heim_plugin_data static const struct heim_plugin_data
an2ln_plugin_data = { an2ln_plugin_data = {
"krb5", "krb5",
KRB5_PLUGIN_AN2LN, KRB5_PLUGIN_AN2LN,