=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/Attic/login.c,v retrieving revision 1.15 retrieving revision 1.15.2.1 diff -u -r1.15 -r1.15.2.1 --- src/usr.bin/ssh/Attic/login.c 2000/09/07 20:27:52 1.15 +++ src/usr.bin/ssh/Attic/login.c 2001/02/16 20:13:05 1.15.2.1 @@ -39,11 +39,12 @@ */ #include "includes.h" -RCSID("$OpenBSD: login.c,v 1.15 2000/09/07 20:27:52 deraadt Exp $"); +RCSID("$OpenBSD: login.c,v 1.15.2.1 2001/02/16 20:13:05 jason Exp $"); #include #include -#include "ssh.h" +#include "login.h" +#include "log.h" /* * Returns the time when the user last logged in. Returns 0 if the @@ -56,9 +57,9 @@ * is found). The name of the host used last time is returned in buf. */ -unsigned long +u_long get_last_login_time(uid_t uid, const char *logname, - char *buf, unsigned int bufsize) + char *buf, u_int bufsize) { struct lastlog ll; char *lastlog;