diff options
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | 2020-01-20 12:13:26 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2020-01-21 10:39:49 +1100 |
commit | 6089abf715e2784751c9f62697e09bb103295b93 (patch) | |
tree | 1a5a1f4297cd67f2dae08780b678c455fcfba6ac /auth-pam.c | |
parent | 5a9b9c82851b7bc219dc3a65962a80803c76c102 (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.c | 2 |
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 | ||
303 | void | 303 | static void |
304 | sshpam_password_change_required(int reqd) | 304 | sshpam_password_change_required(int reqd) |
305 | { | 305 | { |
306 | extern struct sshauthopt *auth_opts; | 306 | extern struct sshauthopt *auth_opts; |