Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/finger Remove duplicate header inclusions; from Jeff...



details:   https://anonhg.NetBSD.org/src/rev/a9135ff54f76
branches:  trunk
changeset: 567172:a9135ff54f76
user:      kleink <kleink%NetBSD.org@localhost>
date:      Thu Jun 03 18:33:57 2004 +0000

description:
Remove duplicate header inclusions; from Jeff Ito in PR bin/25797.

diffstat:

 usr.bin/finger/lprint.c |  6 ++----
 usr.bin/finger/net.c    |  5 ++---
 2 files changed, 4 insertions(+), 7 deletions(-)

diffs (60 lines):

diff -r 89d256bf5cbf -r a9135ff54f76 usr.bin/finger/lprint.c
--- a/usr.bin/finger/lprint.c   Thu Jun 03 18:32:18 2004 +0000
+++ b/usr.bin/finger/lprint.c   Thu Jun 03 18:33:57 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lprint.c,v 1.19 2003/08/07 11:13:45 agc Exp $  */
+/*     $NetBSD: lprint.c,v 1.20 2004/06/03 18:33:57 kleink Exp $       */
 
 /*
  * Copyright (c) 1989, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)lprint.c   8.3 (Berkeley) 4/28/95";
 #else
-__RCSID( "$NetBSD: lprint.c,v 1.19 2003/08/07 11:13:45 agc Exp $");
+__RCSID( "$NetBSD: lprint.c,v 1.20 2004/06/03 18:33:57 kleink Exp $");
 #endif
 #endif /* not lint */
 
@@ -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>
 
diff -r 89d256bf5cbf -r a9135ff54f76 usr.bin/finger/net.c
--- a/usr.bin/finger/net.c      Thu Jun 03 18:32:18 2004 +0000
+++ b/usr.bin/finger/net.c      Thu Jun 03 18:33:57 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: net.c,v 1.20 2003/08/07 11:13:45 agc Exp $     */
+/*     $NetBSD: net.c,v 1.21 2004/06/03 18:33:57 kleink Exp $  */
 
 /*
  * Copyright (c) 1989, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)net.c      8.4 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: net.c,v 1.20 2003/08/07 11:13:45 agc Exp $");
+__RCSID("$NetBSD: net.c,v 1.21 2004/06/03 18:33:57 kleink Exp $");
 #endif
 #endif /* not lint */
 
@@ -56,7 +56,6 @@
 #include <stdio.h>
 #include <string.h>
 #include <ctype.h>
-#include <unistd.h>
 #include <err.h>
 
 #include "utmpentry.h"



Home | Main Index | Thread Index | Old Index