summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2000-10-14 15:08:49 +0000
committerKevin Steves <stevesk@pobox.com>2000-10-14 15:08:49 +0000
commit6beac8c5a0b4ecbb92b252d49dc92528340ff993 (patch)
tree6c542b4f63064f3ed390f7b76365c6106c3c53b9
parent092f2effc5a50e6aeb5059d2b02d5e7b9c03fb42 (diff)
function prototype and definition consistency cleanup.
-rw-r--r--auth-pam.c6
-rw-r--r--auth-pam.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/auth-pam.c b/auth-pam.c
index 5bb30025d..9c6e36af7 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -29,7 +29,7 @@
29#include "xmalloc.h" 29#include "xmalloc.h"
30#include "servconf.h" 30#include "servconf.h"
31 31
32RCSID("$Id: auth-pam.c,v 1.17 2000/10/14 13:36:13 stevesk Exp $"); 32RCSID("$Id: auth-pam.c,v 1.18 2000/10/14 15:08:49 stevesk Exp $");
33 33
34#define NEW_AUTHTOK_MSG \ 34#define NEW_AUTHTOK_MSG \
35 "Warning: Your password has expired, please change it now" 35 "Warning: Your password has expired, please change it now"
@@ -249,7 +249,7 @@ void do_pam_session(char *username, const char *ttyname)
249} 249}
250 250
251/* Set PAM credentials */ 251/* Set PAM credentials */
252void do_pam_setcred() 252void do_pam_setcred(void)
253{ 253{
254 int pam_retval; 254 int pam_retval;
255 255
@@ -273,7 +273,7 @@ int pam_password_change_required(void)
273 * session is established and the user's pty is connected to 273 * session is established and the user's pty is connected to
274 * stdin/stout/stderr. 274 * stdin/stout/stderr.
275 */ 275 */
276void do_pam_chauthtok() 276void do_pam_chauthtok(void)
277{ 277{
278 int pam_retval; 278 int pam_retval;
279 279
diff --git a/auth-pam.h b/auth-pam.h
index 7f2304636..73f68ec2d 100644
--- a/auth-pam.h
+++ b/auth-pam.h
@@ -9,9 +9,9 @@ int auth_pam_password(struct passwd *pw, const char *password);
9char **fetch_pam_environment(void); 9char **fetch_pam_environment(void);
10int do_pam_account(char *username, char *remote_user); 10int do_pam_account(char *username, char *remote_user);
11void do_pam_session(char *username, const char *ttyname); 11void do_pam_session(char *username, const char *ttyname);
12void do_pam_setcred(); 12void do_pam_setcred(void);
13void print_pam_messages(void); 13void print_pam_messages(void);
14int pam_password_change_required(void); 14int pam_password_change_required(void);
15void do_pam_chauthtok(); 15void do_pam_chauthtok(void);
16 16
17#endif /* USE_PAM */ 17#endif /* USE_PAM */