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)
downloadopenssh-git-6089abf715e2784751c9f62697e09bb103295b93.tar.gz
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 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;