From: Ruben Kerkhof Date: Mon, 20 Jan 2020 11:13:26 +0000 (+0100) Subject: Make sshpam_password_change_required static. X-Git-Tag: V_8_2_P1~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6089abf715e2784751c9f62697e09bb103295b93;p=thirdparty%2Fopenssh-portable.git Make sshpam_password_change_required static. sshpam_password_change_required is only used in auth-pam.c, so make it static to prevent a mising prototype warning. --- diff --git a/auth-pam.c b/auth-pam.c index ee9d2c7e9..856fdd40f 100644 --- a/auth-pam.c +++ b/auth-pam.c @@ -300,7 +300,7 @@ sshpam_chauthtok_ruid(pam_handle_t *pamh, int flags) # define pam_chauthtok(a,b) (sshpam_chauthtok_ruid((a), (b))) #endif -void +static void sshpam_password_change_required(int reqd) { extern struct sshauthopt *auth_opts;