diff options
author | charnier <charnier@FreeBSD.org> | 2001-02-06 20:13:48 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2001-02-06 20:13:48 +0000 |
commit | 3699f60e15ec53c7e510fa36abd5ed86ab0a8831 (patch) | |
tree | 834ed5a9f7fe942ca1962cb6d3788f09a997363a /usr.bin/finger/util.c | |
parent | aa6a70fb7099b81a9f194e6b293020db850c7c27 (diff) | |
download | FreeBSD-src-3699f60e15ec53c7e510fa36abd5ed86ab0a8831.zip FreeBSD-src-3699f60e15ec53c7e510fa36abd5ed86ab0a8831.tar.gz |
Spelling
Remove unused #includes
Diffstat (limited to 'usr.bin/finger/util.c')
-rw-r--r-- | usr.bin/finger/util.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/usr.bin/finger/util.c b/usr.bin/finger/util.c index eb91206..19e2f96 100644 --- a/usr.bin/finger/util.c +++ b/usr.bin/finger/util.c @@ -37,27 +37,25 @@ #ifndef lint #if 0 static char sccsid[] = "@(#)util.c 8.3 (Berkeley) 4/28/95"; -#else +#endif static const char rcsid[] = "$FreeBSD$"; -#endif #endif /* not lint */ #include <sys/param.h> #include <sys/stat.h> -#include <fcntl.h> +#include <ctype.h> #include <db.h> #include <err.h> -#include <pwd.h> -#include <utmp.h> #include <errno.h> -#include <unistd.h> +#include <fcntl.h> +#include <paths.h> +#include <pwd.h> #include <stdio.h> -#include <ctype.h> #include <stdlib.h> #include <string.h> -#include <paths.h> -#include <errno.h> +#include <unistd.h> +#include <utmp.h> #include "finger.h" static void find_idle_and_ttywrite __P((WHERE *)); @@ -138,7 +136,7 @@ enter_lastlog(pn) /* * and if it's not any of the current logins * can't use time comparison because there may be a small - * discrepency since login calls time() twice + * discrepancy since login calls time() twice */ for (w = pn->whead; doit && w != NULL; w = w->next) if (w->info == LOGGEDIN && |