From: Russ Allbery Date: Sat, 16 May 2020 22:51:41 +0000 (-0700) Subject: Fix Clang warning when built with Heimdal X-Git-Tag: release/3.2~16 X-Git-Url: https://git.eyrie.org/?a=commitdiff_plain;h=64081076b24c31c28e0efce3d44566f39a041b49;hp=65cddcfe9e8d2ce2a672c288dafb4e02a243652a;p=kerberos%2Fkrb5-strength.git Fix Clang warning when built with Heimdal The symbol exposed by the Heimdal plugin needed a forward declaration. --- diff --git a/plugin/heimdal.c b/plugin/heimdal.c index aa0d29b..6cdfe1a 100644 --- a/plugin/heimdal.c +++ b/plugin/heimdal.c @@ -113,6 +113,7 @@ static struct kadm5_pw_policy_check_func functions[] = { {"krb5-strength", heimdal_pwcheck}, {NULL, NULL} }; +extern struct kadm5_pw_policy_verifier kadm5_password_verifier; struct kadm5_pw_policy_verifier kadm5_password_verifier = { "krb5-strength", KADM5_PASSWD_VERSION_V1,