From 6630cf588910922658c7ef49b1988b6a0099a8fd Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Sun, 28 May 2023 21:05:50 +0000 Subject: [PATCH] krb5/plugin.c: Constify. --- lib/krb5/plugin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/krb5/plugin.c b/lib/krb5/plugin.c index 2dc22d18a..b4035d39d 100644 --- a/lib/krb5/plugin.c +++ b/lib/krb5/plugin.c @@ -75,7 +75,7 @@ KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_plugin_register(krb5_context context, enum krb5_plugin_type type, const char *name, - void *symbol) + const void *symbol) { /* * It's not clear that PLUGIN_TYPE_FUNC was ever used or supported. It likely @@ -147,7 +147,7 @@ _krb5_unload_plugins(krb5_context context, const char *name) */ KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL _krb5_plugin_run_f(krb5_context context, - struct heim_plugin_data *caller, + const struct heim_plugin_data *caller, int flags, void *userctx, krb5_error_code (KRB5_LIB_CALL *func)(krb5_context, const void *, void *, void *))