Skip to content

Commit

Permalink
Make sshpam_password_change_required static.
Browse files Browse the repository at this point in the history
sshpam_password_change_required is only used in auth-pam.c, so make it
static to prevent a mising prototype warning.
  • Loading branch information
rubenk authored and daztucker committed Jan 20, 2020
1 parent 5a9b9c8 commit 6089abf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth-pam.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6089abf

Please sign in to comment.