[openssh-commits] [openssh] 02/04: Make sshpam_password_change_required static.

git+noreply at mindrot.org git+noreply at mindrot.org
Tue Jan 21 10:49:28 AEDT 2020


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 6089abf715e2784751c9f62697e09bb103295b93
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Mon Jan 20 12:13:26 2020 +0100

    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.
---
 auth-pam.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/auth-pam.c b/auth-pam.c
index ee9d2c7e..856fdd40 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;

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list