Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/libexec/ftpd/logutmp.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -p -r1.3 -r1.4 --- src/libexec/ftpd/logutmp.c 2002/11/29 14:40:00 1.3 +++ src/libexec/ftpd/logutmp.c 2003/02/23 13:04:37 1.4 @@ -33,8 +33,10 @@ */ #include +#include #include +#include #include #include #include @@ -43,6 +45,8 @@ #include #include +#include "extern.h" + typedef struct utmp UTMP; static int fd = -1; @@ -54,7 +58,7 @@ static int topslot = -1; */ void -login(const UTMP *ut) +ftpd_login(const struct utmp *ut) { UTMP ubuf; @@ -94,7 +98,7 @@ login(const UTMP *ut) } int -logout(const char *line) +ftpd_logout(const char *line) { UTMP ut; int rval;