}
/* Set PAM credentials */
-void do_pam_setcred()
+void do_pam_setcred(void)
{
int pam_retval;
}
}
+/* accessor function for file scope static variable */
+int pam_password_change_required(void)
+{
+ return password_change_required;
+}
+
/*
* Have user change authentication token if pam_acct_mgmt() indicated
* it was expired. This needs to be called after an interactive
* session is established and the user's pty is connected to
* stdin/stout/stderr.
*/
-void do_pam_chauthtok()
+void do_pam_chauthtok(void)
{
int pam_retval;