summaryrefslogtreecommitdiff
path: root/auth-pam.c
diff options
context:
space:
mode:
authorRuben Kerkhof <ruben@rubenkerkhof.com>2020-01-20 12:13:26 +0100
committerDarren Tucker <dtucker@dtucker.net>2020-01-21 10:39:49 +1100
commit6089abf715e2784751c9f62697e09bb103295b93 (patch)
tree1a5a1f4297cd67f2dae08780b678c455fcfba6ac /auth-pam.c
parent5a9b9c82851b7bc219dc3a65962a80803c76c102 (diff)
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.
Diffstat (limited to 'auth-pam.c')
-rw-r--r--auth-pam.c2
1 files changed, 1 insertions, 1 deletions
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)
300# define pam_chauthtok(a,b) (sshpam_chauthtok_ruid((a), (b))) 300# define pam_chauthtok(a,b) (sshpam_chauthtok_ruid((a), (b)))
301#endif 301#endif
302 302
303void 303static void
304sshpam_password_change_required(int reqd) 304sshpam_password_change_required(int reqd)
305{ 305{
306 extern struct sshauthopt *auth_opts; 306 extern struct sshauthopt *auth_opts;