Subject: bin/25797: superfluous #includes in finger(1).
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <jeffi@rcn.com>
List: netbsd-bugs
Date: 06/03/2004 11:46:52
>Number:         25797
>Category:       bin
>Synopsis:       superfluous #includes in finger(1).
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 03 11:47:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jeff Ito
>Release:        NetBSD 2.0F
>Organization:
>Environment:
NetBSD netbsd 2.0F NetBSD 2.0F (LAB) #10: Thu May 27 08:50:14 EDT 2004
>Description:
Remove superfluous includes.
Remove trailing whitespace.
>How-To-Repeat:
n/a
>Fix:
Index: finger.c
===================================================================
RCS file: /cvs/nbsd/src/usr.bin/finger/finger.c,v
retrieving revision 1.23
diff -u -r1.23 finger.c
--- finger.c    7 Aug 2003 11:13:44 -0000       1.23
+++ finger.c    3 Jun 2004 11:41:50 -0000
@@ -302,4 +302,3 @@
                        enter_lastlog(tmp);
                }
 }
-
Index: lprint.c
===================================================================
RCS file: /cvs/nbsd/src/usr.bin/finger/lprint.c,v
retrieving revision 1.19
diff -u -r1.19 lprint.c
--- lprint.c    7 Aug 2003 11:13:45 -0000       1.19
+++ lprint.c    3 Jun 2004 11:41:50 -0000
@@ -45,7 +45,6 @@
 #include <sys/stat.h>
 #include <sys/time.h>
 #include <fcntl.h>
-#include <time.h>
 #include <tzfile.h>
 #include <db.h>
 #include <err.h>
@@ -56,7 +55,6 @@
 #include <string.h>
 #include <time.h>
 #include <ctype.h>
-#include <string.h>
 #include <paths.h>
 #include <vis.h>

Index: net.c
===================================================================
RCS file: /cvs/nbsd/src/usr.bin/finger/net.c,v
retrieving revision 1.20
diff -u -r1.20 net.c
--- net.c       7 Aug 2003 11:13:45 -0000       1.20
+++ net.c       3 Jun 2004 11:41:50 -0000
@@ -56,7 +56,6 @@
 #include <stdio.h>
 #include <string.h>
 #include <ctype.h>
-#include <unistd.h>
 #include <err.h>

 #include "utmpentry.h"
>Release-Note:
>Audit-Trail:
>Unformatted: