mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-02-16 13:56:52 +00:00
function prototype and definition consistency cleanup.
This commit is contained in:
parent
092f2effc5
commit
6beac8c5a0
@ -29,7 +29,7 @@
|
|||||||
#include "xmalloc.h"
|
#include "xmalloc.h"
|
||||||
#include "servconf.h"
|
#include "servconf.h"
|
||||||
|
|
||||||
RCSID("$Id: auth-pam.c,v 1.17 2000/10/14 13:36:13 stevesk Exp $");
|
RCSID("$Id: auth-pam.c,v 1.18 2000/10/14 15:08:49 stevesk Exp $");
|
||||||
|
|
||||||
#define NEW_AUTHTOK_MSG \
|
#define NEW_AUTHTOK_MSG \
|
||||||
"Warning: Your password has expired, please change it now"
|
"Warning: Your password has expired, please change it now"
|
||||||
@ -249,7 +249,7 @@ void do_pam_session(char *username, const char *ttyname)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Set PAM credentials */
|
/* Set PAM credentials */
|
||||||
void do_pam_setcred()
|
void do_pam_setcred(void)
|
||||||
{
|
{
|
||||||
int pam_retval;
|
int pam_retval;
|
||||||
|
|
||||||
@ -273,7 +273,7 @@ int pam_password_change_required(void)
|
|||||||
* session is established and the user's pty is connected to
|
* session is established and the user's pty is connected to
|
||||||
* stdin/stout/stderr.
|
* stdin/stout/stderr.
|
||||||
*/
|
*/
|
||||||
void do_pam_chauthtok()
|
void do_pam_chauthtok(void)
|
||||||
{
|
{
|
||||||
int pam_retval;
|
int pam_retval;
|
||||||
|
|
||||||
|
@ -9,9 +9,9 @@ int auth_pam_password(struct passwd *pw, const char *password);
|
|||||||
char **fetch_pam_environment(void);
|
char **fetch_pam_environment(void);
|
||||||
int do_pam_account(char *username, char *remote_user);
|
int do_pam_account(char *username, char *remote_user);
|
||||||
void do_pam_session(char *username, const char *ttyname);
|
void do_pam_session(char *username, const char *ttyname);
|
||||||
void do_pam_setcred();
|
void do_pam_setcred(void);
|
||||||
void print_pam_messages(void);
|
void print_pam_messages(void);
|
||||||
int pam_password_change_required(void);
|
int pam_password_change_required(void);
|
||||||
void do_pam_chauthtok();
|
void do_pam_chauthtok(void);
|
||||||
|
|
||||||
#endif /* USE_PAM */
|
#endif /* USE_PAM */
|
||||||
|
Loading…
Reference in New Issue
Block a user