diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-23 23:23:20 +0200 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-23 23:23:20 +0200 |
commit | 5c3855210ef20be5931d4b58f641d71bc3b203e8 (patch) | |
tree | de100fe07cedd57448d9d4bd5bd23fa602c408b7 /sshlogin.c | |
parent | - deraadt@cvs.openbsd.org 2002/06/23 03:26:19 (diff) | |
download | openssh-5c3855210ef20be5931d4b58f641d71bc3b203e8.tar.xz openssh-5c3855210ef20be5931d4b58f641d71bc3b203e8.zip |
- deraadt@cvs.openbsd.org 2002/06/23 03:30:58
[scard.c ssh-dss.c ssh-rsa.c sshconnect.c sshconnect2.c sshd.c sshlogin.c
sshpty.c]
various KNF and %d for unsigned
Diffstat (limited to 'sshlogin.c')
-rw-r--r-- | sshlogin.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sshlogin.c b/sshlogin.c index 78c51abd6..e76f94534 100644 --- a/sshlogin.c +++ b/sshlogin.c @@ -39,7 +39,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshlogin.c,v 1.3 2001/12/19 07:18:56 deraadt Exp $"); +RCSID("$OpenBSD: sshlogin.c,v 1.4 2002/06/23 03:30:17 deraadt Exp $"); #include "loginrec.h" @@ -48,10 +48,9 @@ RCSID("$OpenBSD: sshlogin.c,v 1.3 2001/12/19 07:18:56 deraadt Exp $"); * information is not available. This must be called before record_login. * The host the user logged in from will be returned in buf. */ - u_long get_last_login_time(uid_t uid, const char *logname, - char *buf, u_int bufsize) + char *buf, u_int bufsize) { struct logininfo li; @@ -64,10 +63,9 @@ get_last_login_time(uid_t uid, const char *logname, * Records that the user has logged in. I these parts of operating systems * were more standardized. */ - void record_login(pid_t pid, const char *ttyname, const char *user, uid_t uid, - const char *host, struct sockaddr * addr) + const char *host, struct sockaddr * addr) { struct logininfo *li; @@ -92,7 +90,6 @@ record_utmp_only(pid_t pid, const char *ttyname, const char *user, #endif /* Records that the user has logged out. */ - void record_logout(pid_t pid, const char *ttyname, const char *user) { |