From df78c88cc032d5e4fd8f1c7fb238b993eb529ca3 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Thu, 7 Feb 2019 09:46:07 -0500 Subject: [PATCH] lib/krb5: common_plugin_ftable_desc funcs KRB5_LIB_CALL As with the krb5plugin_an2ln_ftable_desc, krb5plugin_db_ftable_desc, and krb5plugin_kuserok_ftable_desc the function pointers in common_plugin_ftable_desc must be annotated with KRB5_LIB_CALL. Change-Id: Ia7ea78743ee9eb8c7f6b648063852ca91a360d2c --- 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 a08d50829..b30685333 100644 --- a/lib/krb5/plugin.c +++ b/lib/krb5/plugin.c @@ -154,8 +154,8 @@ copy_internal_dso(const char *name) */ typedef struct common_plugin_ftable_desc { int version; - krb5_error_code (*init)(krb5_context, void **); - void (*fini)(void *); + krb5_error_code (KRB5_LIB_CALL *init)(krb5_context, void **); + void (KRB5_LIB_CALL *fini)(void *); } common_plugin_ftable; struct krb5_plugin {