From owner-svn-src-all@FreeBSD.ORG Fri Dec 11 23:35:40 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83CD4106566B; Fri, 11 Dec 2009 23:35:40 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6ED558FC08; Fri, 11 Dec 2009 23:35:40 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id nBBNZeki023825; Fri, 11 Dec 2009 23:35:40 GMT (envelope-from delphij@svn.freebsd.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id nBBNZdRT023731; Fri, 11 Dec 2009 23:35:39 GMT (envelope-from delphij@svn.freebsd.org) Message-Id: <200912112335.nBBNZdRT023731@svn.freebsd.org> From: Xin LI Date: Fri, 11 Dec 2009 23:35:39 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r200420 - in head/usr.bin: ar c89 calendar cksum cmp colcrt colrm compress cpuset expand fetch file2c find finger fmt fold gcore getopt hexdump jot killall ktrace lastcomm limits lock l... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Dec 2009 23:35:40 -0000 Author: delphij Date: Fri Dec 11 23:35:38 2009 New Revision: 200420 URL: http://svn.freebsd.org/changeset/base/200420 Log: Remove unneeded header includes from usr.bin/ except contributed code. Tested with: make universe Modified: head/usr.bin/ar/util.c head/usr.bin/c89/c89.c head/usr.bin/calendar/calendar.c head/usr.bin/calendar/day.c head/usr.bin/calendar/ostern.c head/usr.bin/calendar/paskha.c head/usr.bin/cksum/Makefile head/usr.bin/cksum/crc.c head/usr.bin/cksum/crc32.c head/usr.bin/cksum/sum1.c head/usr.bin/cksum/sum2.c head/usr.bin/cmp/regular.c head/usr.bin/cmp/special.c head/usr.bin/colcrt/colcrt.c head/usr.bin/colrm/colrm.c head/usr.bin/compress/zopen.c head/usr.bin/cpuset/cpuset.c head/usr.bin/expand/expand.c head/usr.bin/fetch/fetch.c head/usr.bin/file2c/file2c.c head/usr.bin/find/find.c head/usr.bin/find/getdate.y head/usr.bin/find/ls.c head/usr.bin/find/main.c head/usr.bin/find/misc.c head/usr.bin/find/option.c head/usr.bin/finger/lprint.c head/usr.bin/finger/net.c head/usr.bin/finger/util.c head/usr.bin/fmt/fmt.c head/usr.bin/fold/fold.c head/usr.bin/gcore/gcore.c head/usr.bin/getopt/getopt.c head/usr.bin/hexdump/display.c head/usr.bin/hexdump/hexdump.c head/usr.bin/jot/jot.c head/usr.bin/killall/killall.c head/usr.bin/ktrace/subr.c head/usr.bin/lastcomm/lastcomm.c head/usr.bin/lastcomm/pathnames.h head/usr.bin/lastcomm/readrec.c head/usr.bin/limits/limits.c head/usr.bin/lock/lock.c head/usr.bin/login/login.c head/usr.bin/login/login_fbtab.c head/usr.bin/login/pathnames.h head/usr.bin/mesg/mesg.c head/usr.bin/mkfifo/mkfifo.c head/usr.bin/mklocale/yacc.y head/usr.bin/mktemp/mktemp.c head/usr.bin/ncal/ncal.c head/usr.bin/netstat/atalk.c head/usr.bin/netstat/bpf.c head/usr.bin/netstat/if.c head/usr.bin/netstat/ipsec.c head/usr.bin/netstat/ipx.c head/usr.bin/netstat/main.c head/usr.bin/netstat/mbuf.c head/usr.bin/netstat/netgraph.c head/usr.bin/netstat/pfkey.c head/usr.bin/netstat/route.c head/usr.bin/netstat/sctp.c head/usr.bin/newgrp/newgrp.c head/usr.bin/newkey/update.c head/usr.bin/nfsstat/nfsstat.c head/usr.bin/nohup/nohup.c head/usr.bin/passwd/passwd.c head/usr.bin/paste/paste.c head/usr.bin/pr/egetopt.c head/usr.bin/procstat/procstat_args.c head/usr.bin/procstat/procstat_basic.c head/usr.bin/procstat/procstat_files.c head/usr.bin/procstat/procstat_vm.c head/usr.bin/rev/rev.c head/usr.bin/rlogin/rlogin.c head/usr.bin/rpcgen/rpc_clntout.c head/usr.bin/rpcgen/rpc_hout.c head/usr.bin/rpcgen/rpc_tblout.c head/usr.bin/rpcgen/rpc_util.c head/usr.bin/ruptime/ruptime.c head/usr.bin/rwall/rwall.c head/usr.bin/sed/main.c head/usr.bin/sed/misc.c head/usr.bin/showmount/showmount.c head/usr.bin/su/su.c head/usr.bin/systat/fetch.c head/usr.bin/systat/icmp.c head/usr.bin/systat/iostat.c head/usr.bin/systat/ip.c head/usr.bin/systat/main.c head/usr.bin/systat/mbufs.c head/usr.bin/systat/mode.c head/usr.bin/systat/netstat.c head/usr.bin/systat/swap.c head/usr.bin/systat/tcp.c head/usr.bin/systat/vmstat.c head/usr.bin/tar/getdate.c head/usr.bin/tee/tee.c head/usr.bin/time/time.c head/usr.bin/tput/tput.c head/usr.bin/tr/cmap.c head/usr.bin/tr/cmap.h head/usr.bin/tr/cset.c head/usr.bin/tr/cset.h head/usr.bin/tr/str.c head/usr.bin/tr/tr.c head/usr.bin/truss/main.c head/usr.bin/truss/setup.c head/usr.bin/tsort/tsort.c head/usr.bin/ul/ul.c head/usr.bin/unexpand/unexpand.c head/usr.bin/usbhidaction/usbhidaction.c head/usr.bin/vis/foldit.c head/usr.bin/w/pr_time.c head/usr.bin/w/w.c head/usr.bin/wall/ttymsg.c head/usr.bin/who/who.c head/usr.bin/xinstall/xinstall.c head/usr.bin/ypcat/ypcat.c head/usr.bin/ypmatch/ypmatch.c head/usr.bin/ypwhich/ypwhich.c Modified: head/usr.bin/ar/util.c ============================================================================== --- head/usr.bin/ar/util.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/ar/util.c Fri Dec 11 23:35:38 2009 (r200420) @@ -29,7 +29,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include #include #include Modified: head/usr.bin/c89/c89.c ============================================================================== --- head/usr.bin/c89/c89.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/c89/c89.c Fri Dec 11 23:35:38 2009 (r200420) @@ -33,7 +33,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include Modified: head/usr.bin/calendar/calendar.c ============================================================================== --- head/usr.bin/calendar/calendar.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/calendar/calendar.c Fri Dec 11 23:35:38 2009 (r200420) @@ -55,7 +55,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include "pathnames.h" #include "calendar.h" struct passwd *pw; Modified: head/usr.bin/calendar/day.c ============================================================================== --- head/usr.bin/calendar/day.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/calendar/day.c Fri Dec 11 23:35:38 2009 (r200420) @@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include "pathnames.h" #include "calendar.h" struct tm *tp; Modified: head/usr.bin/calendar/ostern.c ============================================================================== --- head/usr.bin/calendar/ostern.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/calendar/ostern.c Fri Dec 11 23:35:38 2009 (r200420) @@ -30,7 +30,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include "calendar.h" Modified: head/usr.bin/calendar/paskha.c ============================================================================== --- head/usr.bin/calendar/paskha.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/calendar/paskha.c Fri Dec 11 23:35:38 2009 (r200420) @@ -30,7 +30,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include "calendar.h" Modified: head/usr.bin/cksum/Makefile ============================================================================== --- head/usr.bin/cksum/Makefile Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/cksum/Makefile Fri Dec 11 23:35:38 2009 (r200420) @@ -5,5 +5,6 @@ PROG= cksum SRCS= cksum.c crc.c print.c sum1.c sum2.c crc32.c LINKS= ${BINDIR}/cksum ${BINDIR}/sum MLINKS= cksum.1 sum.1 +WARNS?= 6 .include Modified: head/usr.bin/cksum/crc.c ============================================================================== --- head/usr.bin/cksum/crc.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/cksum/crc.c Fri Dec 11 23:35:38 2009 (r200420) @@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$"); #include -#include #include #include "extern.h" Modified: head/usr.bin/cksum/crc32.c ============================================================================== --- head/usr.bin/cksum/crc32.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/cksum/crc32.c Fri Dec 11 23:35:38 2009 (r200420) @@ -17,7 +17,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include #include "extern.h" Modified: head/usr.bin/cksum/sum1.c ============================================================================== --- head/usr.bin/cksum/sum1.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/cksum/sum1.c Fri Dec 11 23:35:38 2009 (r200420) @@ -43,7 +43,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include "extern.h" Modified: head/usr.bin/cksum/sum2.c ============================================================================== --- head/usr.bin/cksum/sum2.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/cksum/sum2.c Fri Dec 11 23:35:38 2009 (r200420) @@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include "extern.h" Modified: head/usr.bin/cmp/regular.c ============================================================================== --- head/usr.bin/cmp/regular.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/cmp/regular.c Fri Dec 11 23:35:38 2009 (r200420) @@ -45,12 +45,10 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include #include #include #include -#include #include #include "extern.h" Modified: head/usr.bin/cmp/special.c ============================================================================== --- head/usr.bin/cmp/special.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/cmp/special.c Fri Dec 11 23:35:38 2009 (r200420) @@ -45,7 +45,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include "extern.h" Modified: head/usr.bin/colcrt/colcrt.c ============================================================================== --- head/usr.bin/colcrt/colcrt.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/colcrt/colcrt.c Fri Dec 11 23:35:38 2009 (r200420) @@ -50,7 +50,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include Modified: head/usr.bin/colrm/colrm.c ============================================================================== --- head/usr.bin/colrm/colrm.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/colrm/colrm.c Fri Dec 11 23:35:38 2009 (r200420) @@ -48,12 +48,9 @@ __FBSDID("$FreeBSD$"); #include #include -#include -#include #include #include #include -#include #include #include Modified: head/usr.bin/compress/zopen.c ============================================================================== --- head/usr.bin/compress/zopen.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/compress/zopen.c Fri Dec 11 23:35:38 2009 (r200420) @@ -67,13 +67,11 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include #include #include #include #include -#include #include "zopen.h" #define BITS 16 /* Default bits. */ Modified: head/usr.bin/cpuset/cpuset.c ============================================================================== --- head/usr.bin/cpuset/cpuset.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/cpuset/cpuset.c Fri Dec 11 23:35:38 2009 (r200420) @@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include int cflag; int gflag; Modified: head/usr.bin/expand/expand.c ============================================================================== --- head/usr.bin/expand/expand.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/expand/expand.c Fri Dec 11 23:35:38 2009 (r200420) @@ -52,7 +52,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include /* * expand - expand tabs to equivalent spaces Modified: head/usr.bin/fetch/fetch.c ============================================================================== --- head/usr.bin/fetch/fetch.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/fetch/fetch.c Fri Dec 11 23:35:38 2009 (r200420) @@ -34,7 +34,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include #include #include Modified: head/usr.bin/file2c/file2c.c ============================================================================== --- head/usr.bin/file2c/file2c.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/file2c/file2c.c Fri Dec 11 23:35:38 2009 (r200420) @@ -10,7 +10,6 @@ #include __FBSDID("$FreeBSD$"); -#include #include #include #include Modified: head/usr.bin/find/find.c ============================================================================== --- head/usr.bin/find/find.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/find/find.c Fri Dec 11 23:35:38 2009 (r200420) @@ -52,7 +52,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include "find.h" Modified: head/usr.bin/find/getdate.y ============================================================================== --- head/usr.bin/find/getdate.y Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/find/getdate.y Fri Dec 11 23:35:38 2009 (r200420) @@ -15,7 +15,6 @@ #include __FBSDID("$FreeBSD$"); -#include #include /* The code at the top of get_date which figures out the offset of the Modified: head/usr.bin/find/ls.c ============================================================================== --- head/usr.bin/find/ls.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/find/ls.c Fri Dec 11 23:35:38 2009 (r200420) @@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include #include #include Modified: head/usr.bin/find/main.c ============================================================================== --- head/usr.bin/find/main.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/find/main.c Fri Dec 11 23:35:38 2009 (r200420) @@ -53,7 +53,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include #include #include Modified: head/usr.bin/find/misc.c ============================================================================== --- head/usr.bin/find/misc.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/find/misc.c Fri Dec 11 23:35:38 2009 (r200420) @@ -48,7 +48,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include #include #include Modified: head/usr.bin/find/option.c ============================================================================== --- head/usr.bin/find/option.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/find/option.c Fri Dec 11 23:35:38 2009 (r200420) @@ -49,7 +49,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include Modified: head/usr.bin/finger/lprint.c ============================================================================== --- head/usr.bin/finger/lprint.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/finger/lprint.c Fri Dec 11 23:35:38 2009 (r200420) @@ -310,7 +310,7 @@ show_text(const char *directory, const c return(0); /* If short enough, and no newlines, show it on a single line.*/ - if (sb.st_size <= LINE_LEN - strlen(header) - 5) { + if (sb.st_size <= (int)(LINE_LEN - strlen(header) - 5)) { nr = read(fd, tbuf, sizeof(tbuf)); if (nr <= 0) { (void)close(fd); Modified: head/usr.bin/finger/net.c ============================================================================== --- head/usr.bin/finger/net.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/finger/net.c Fri Dec 11 23:35:38 2009 (r200420) @@ -230,7 +230,7 @@ trying(const struct addrinfo *ai) printf("Trying %s...\n", buf); } -void +static void cleanup(int sig __unused) { #define ERRSTR "Timed out.\n" Modified: head/usr.bin/finger/util.c ============================================================================== --- head/usr.bin/finger/util.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/finger/util.c Fri Dec 11 23:35:38 2009 (r200420) @@ -120,7 +120,7 @@ enter_lastlog(PERSON *pn) } if (fd == -1 || lseek(fd, (long)pn->uid * sizeof(ll), SEEK_SET) != - (long)pn->uid * sizeof(ll) || + (off_t)(pn->uid * sizeof(ll)) || read(fd, (char *)&ll, sizeof(ll)) != sizeof(ll)) { /* as if never logged in */ ll.ll_line[0] = ll.ll_host[0] = '\0'; Modified: head/usr.bin/fmt/fmt.c ============================================================================== --- head/usr.bin/fmt/fmt.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/fmt/fmt.c Fri Dec 11 23:35:38 2009 (r200420) @@ -180,7 +180,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include Modified: head/usr.bin/fold/fold.c ============================================================================== --- head/usr.bin/fold/fold.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/fold/fold.c Fri Dec 11 23:35:38 2009 (r200420) @@ -54,7 +54,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include Modified: head/usr.bin/gcore/gcore.c ============================================================================== --- head/usr.bin/gcore/gcore.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/gcore/gcore.c Fri Dec 11 23:35:38 2009 (r200420) @@ -68,7 +68,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include "extern.h" Modified: head/usr.bin/getopt/getopt.c ============================================================================== --- head/usr.bin/getopt/getopt.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/getopt/getopt.c Fri Dec 11 23:35:38 2009 (r200420) @@ -7,7 +7,6 @@ __FBSDID("$FreeBSD$"); */ #include -#include #include int Modified: head/usr.bin/hexdump/display.c ============================================================================== --- head/usr.bin/hexdump/display.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/hexdump/display.c Fri Dec 11 23:35:38 2009 (r200420) @@ -47,7 +47,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include "hexdump.h" enum _vflag vflag = FIRST; Modified: head/usr.bin/hexdump/hexdump.c ============================================================================== --- head/usr.bin/hexdump/hexdump.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/hexdump/hexdump.c Fri Dec 11 23:35:38 2009 (r200420) @@ -48,7 +48,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include "hexdump.h" Modified: head/usr.bin/jot/jot.c ============================================================================== --- head/usr.bin/jot/jot.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/jot/jot.c Fri Dec 11 23:35:38 2009 (r200420) @@ -59,7 +59,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include /* Defaults */ Modified: head/usr.bin/killall/killall.c ============================================================================== --- head/usr.bin/killall/killall.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/killall/killall.c Fri Dec 11 23:35:38 2009 (r200420) @@ -34,8 +34,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include -#include #include #include #include Modified: head/usr.bin/ktrace/subr.c ============================================================================== --- head/usr.bin/ktrace/subr.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/ktrace/subr.c Fri Dec 11 23:35:38 2009 (r200420) @@ -47,8 +47,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include - #include "ktrace.h" void timevaladd(struct timeval *, struct timeval *); Modified: head/usr.bin/lastcomm/lastcomm.c ============================================================================== --- head/usr.bin/lastcomm/lastcomm.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/lastcomm/lastcomm.c Fri Dec 11 23:35:38 2009 (r200420) @@ -51,9 +51,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include -#include -#include #include #include #include Modified: head/usr.bin/lastcomm/pathnames.h ============================================================================== --- head/usr.bin/lastcomm/pathnames.h Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/lastcomm/pathnames.h Fri Dec 11 23:35:38 2009 (r200420) @@ -31,8 +31,8 @@ * SUCH DAMAGE. * * @(#)pathnames.h 8.1 (Berkeley) 6/6/93 + * + * $FreeBSD$ */ -#include - #define _PATH_ACCT "/var/account/acct" Modified: head/usr.bin/lastcomm/readrec.c ============================================================================== --- head/usr.bin/lastcomm/readrec.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/lastcomm/readrec.c Fri Dec 11 23:35:38 2009 (r200420) @@ -33,13 +33,9 @@ __FBSDID("$FreeBSD$"); #include #include -#include -#include #include -#include #include #include -#include #include int readrec_forward(FILE *f, struct acctv2 *av2); Modified: head/usr.bin/limits/limits.c ============================================================================== --- head/usr.bin/limits/limits.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/limits/limits.c Fri Dec 11 23:35:38 2009 (r200420) @@ -32,7 +32,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include Modified: head/usr.bin/lock/lock.c ============================================================================== --- head/usr.bin/lock/lock.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/lock/lock.c Fri Dec 11 23:35:38 2009 (r200420) @@ -62,7 +62,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include Modified: head/usr.bin/login/login.c ============================================================================== --- head/usr.bin/login/login.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/login/login.c Fri Dec 11 23:35:38 2009 (r200420) @@ -64,8 +64,8 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include +#include #include #include #include Modified: head/usr.bin/login/login_fbtab.c ============================================================================== --- head/usr.bin/login/login_fbtab.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/login/login_fbtab.c Fri Dec 11 23:35:38 2009 (r200420) @@ -71,7 +71,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include "login.h" #include "pathnames.h" static void login_protect(const char *, char *, int, uid_t, gid_t); Modified: head/usr.bin/login/pathnames.h ============================================================================== --- head/usr.bin/login/pathnames.h Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/login/pathnames.h Fri Dec 11 23:35:38 2009 (r200420) @@ -34,8 +34,6 @@ * $FreeBSD$ */ -#include - #define _PATH_HUSHLOGIN ".hushlogin" #define _PATH_MOTDFILE "/etc/motd" #define _PATH_FBTAB "/etc/fbtab" Modified: head/usr.bin/mesg/mesg.c ============================================================================== --- head/usr.bin/mesg/mesg.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/mesg/mesg.c Fri Dec 11 23:35:38 2009 (r200420) @@ -56,7 +56,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include static void usage(void); Modified: head/usr.bin/mkfifo/mkfifo.c ============================================================================== --- head/usr.bin/mkfifo/mkfifo.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/mkfifo/mkfifo.c Fri Dec 11 23:35:38 2009 (r200420) @@ -52,7 +52,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #define BASEMODE S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | \ Modified: head/usr.bin/mklocale/yacc.y ============================================================================== --- head/usr.bin/mklocale/yacc.y Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/mklocale/yacc.y Fri Dec 11 23:35:38 2009 (r200420) @@ -48,7 +48,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include #include #include Modified: head/usr.bin/mktemp/mktemp.c ============================================================================== --- head/usr.bin/mktemp/mktemp.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/mktemp/mktemp.c Fri Dec 11 23:35:38 2009 (r200420) @@ -143,7 +143,7 @@ main(int argc, char **argv) } static void -usage() +usage(void) { fprintf(stderr, "usage: mktemp [-d] [-q] [-t prefix] [-u] template ...\n"); Modified: head/usr.bin/ncal/ncal.c ============================================================================== --- head/usr.bin/ncal/ncal.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/ncal/ncal.c Fri Dec 11 23:35:38 2009 (r200420) @@ -30,7 +30,6 @@ static const char rcsid[] = #endif /* not lint */ #include -#include #include #include #include Modified: head/usr.bin/netstat/atalk.c ============================================================================== --- head/usr.bin/netstat/atalk.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/netstat/atalk.c Fri Dec 11 23:35:38 2009 (r200420) @@ -52,8 +52,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include -#include #include #include #include Modified: head/usr.bin/netstat/bpf.c ============================================================================== --- head/usr.bin/netstat/bpf.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/netstat/bpf.c Fri Dec 11 23:35:38 2009 (r200420) @@ -47,7 +47,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include "netstat.h" Modified: head/usr.bin/netstat/if.c ============================================================================== --- head/usr.bin/netstat/if.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/netstat/if.c Fri Dec 11 23:35:38 2009 (r200420) @@ -68,7 +68,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include "netstat.h" Modified: head/usr.bin/netstat/ipsec.c ============================================================================== --- head/usr.bin/netstat/ipsec.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/netstat/ipsec.c Fri Dec 11 23:35:38 2009 (r200420) @@ -111,8 +111,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include -#include #include "netstat.h" #ifdef IPSEC Modified: head/usr.bin/netstat/ipx.c ============================================================================== --- head/usr.bin/netstat/ipx.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/netstat/ipx.c Fri Dec 11 23:35:38 2009 (r200420) @@ -64,8 +64,6 @@ __FBSDID("$FreeBSD$"); #define SANAMES #include -#include -#include #include #include #include Modified: head/usr.bin/netstat/main.c ============================================================================== --- head/usr.bin/netstat/main.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/netstat/main.c Fri Dec 11 23:35:38 2009 (r200420) @@ -60,12 +60,10 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include #include #include #include -#include #include #include #include Modified: head/usr.bin/netstat/mbuf.c ============================================================================== --- head/usr.bin/netstat/mbuf.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/netstat/mbuf.c Fri Dec 11 23:35:38 2009 (r200420) @@ -54,8 +54,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include -#include #include "netstat.h" /* Modified: head/usr.bin/netstat/netgraph.c ============================================================================== --- head/usr.bin/netstat/netgraph.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/netstat/netgraph.c Fri Dec 11 23:35:38 2009 (r200420) @@ -50,11 +50,9 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include #include #include -#include #include #include "netstat.h" Modified: head/usr.bin/netstat/pfkey.c ============================================================================== --- head/usr.bin/netstat/pfkey.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/netstat/pfkey.c Fri Dec 11 23:35:38 2009 (r200420) @@ -83,8 +83,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include -#include #include "netstat.h" #ifdef IPSEC Modified: head/usr.bin/netstat/route.c ============================================================================== --- head/usr.bin/netstat/route.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/netstat/route.c Fri Dec 11 23:35:38 2009 (r200420) @@ -69,7 +69,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include "netstat.h" Modified: head/usr.bin/netstat/sctp.c ============================================================================== --- head/usr.bin/netstat/sctp.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/netstat/sctp.c Fri Dec 11 23:35:38 2009 (r200420) @@ -52,13 +52,10 @@ __FBSDID("$FreeBSD$"); #include #include -#include -#include #include #include #include #include -#include #include "netstat.h" #ifdef SCTP Modified: head/usr.bin/newgrp/newgrp.c ============================================================================== --- head/usr.bin/newgrp/newgrp.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/newgrp/newgrp.c Fri Dec 11 23:35:38 2009 (r200420) @@ -34,10 +34,8 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include #include -#include #include #include #include Modified: head/usr.bin/newkey/update.c ============================================================================== --- head/usr.bin/newkey/update.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/newkey/update.c Fri Dec 11 23:35:38 2009 (r200420) @@ -58,7 +58,6 @@ __FBSDID("$FreeBSD$"); #include #endif /* YP */ -#include #include #include #include Modified: head/usr.bin/nfsstat/nfsstat.c ============================================================================== --- head/usr.bin/nfsstat/nfsstat.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/nfsstat/nfsstat.c Fri Dec 11 23:35:38 2009 (r200420) @@ -62,7 +62,6 @@ static const char rcsid[] = #include #include -#include #include #include #include @@ -71,7 +70,6 @@ static const char rcsid[] = #include #include #include -#include #include struct nlist nl[] = { Modified: head/usr.bin/nohup/nohup.c ============================================================================== --- head/usr.bin/nohup/nohup.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/nohup/nohup.c Fri Dec 11 23:35:38 2009 (r200420) @@ -54,7 +54,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include static void dofile(void); Modified: head/usr.bin/passwd/passwd.c ============================================================================== --- head/usr.bin/passwd/passwd.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/passwd/passwd.c Fri Dec 11 23:35:38 2009 (r200420) @@ -41,7 +41,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include Modified: head/usr.bin/paste/paste.c ============================================================================== --- head/usr.bin/paste/paste.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/paste/paste.c Fri Dec 11 23:35:38 2009 (r200420) @@ -52,12 +52,9 @@ __FBSDID("$FreeBSD$"); #include #include -#include -#include #include #include #include -#include #include #include Modified: head/usr.bin/pr/egetopt.c ============================================================================== --- head/usr.bin/pr/egetopt.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/pr/egetopt.c Fri Dec 11 23:35:38 2009 (r200420) @@ -46,11 +46,8 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include -#include "extern.h" - /* * egetopt: get option letter from argument vector (an extended * version of getopt). Modified: head/usr.bin/procstat/procstat_args.c ============================================================================== --- head/usr.bin/procstat/procstat_args.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/procstat/procstat_args.c Fri Dec 11 23:35:38 2009 (r200420) @@ -34,7 +34,6 @@ #include #include #include -#include #include #include "procstat.h" Modified: head/usr.bin/procstat/procstat_basic.c ============================================================================== --- head/usr.bin/procstat/procstat_basic.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/procstat/procstat_basic.c Fri Dec 11 23:35:38 2009 (r200420) @@ -30,7 +30,6 @@ #include #include -#include #include #include Modified: head/usr.bin/procstat/procstat_files.c ============================================================================== --- head/usr.bin/procstat/procstat_files.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/procstat/procstat_files.c Fri Dec 11 23:35:38 2009 (r200420) @@ -36,7 +36,6 @@ #include -#include #include #include #include Modified: head/usr.bin/procstat/procstat_vm.c ============================================================================== --- head/usr.bin/procstat/procstat_vm.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/procstat/procstat_vm.c Fri Dec 11 23:35:38 2009 (r200420) @@ -30,7 +30,6 @@ #include #include -#include #include #include #include Modified: head/usr.bin/rev/rev.c ============================================================================== --- head/usr.bin/rev/rev.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/rev/rev.c Fri Dec 11 23:35:38 2009 (r200420) @@ -49,11 +49,9 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include #include #include -#include #include #include Modified: head/usr.bin/rlogin/rlogin.c ============================================================================== --- head/usr.bin/rlogin/rlogin.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/rlogin/rlogin.c Fri Dec 11 23:35:38 2009 (r200420) @@ -72,9 +72,7 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include -#include #include #include #include Modified: head/usr.bin/rpcgen/rpc_clntout.c ============================================================================== --- head/usr.bin/rpcgen/rpc_clntout.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/rpcgen/rpc_clntout.c Fri Dec 11 23:35:38 2009 (r200420) @@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$"); * Copyright (C) 1987, Sun Microsytsems, Inc. */ #include -#include #include #include "rpc_parse.h" #include "rpc_scan.h" Modified: head/usr.bin/rpcgen/rpc_hout.c ============================================================================== --- head/usr.bin/rpcgen/rpc_hout.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/rpcgen/rpc_hout.c Fri Dec 11 23:35:38 2009 (r200420) @@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$"); * Copyright (C) 1987, Sun Microsystems, Inc. */ #include -#include #include "rpc_parse.h" #include "rpc_scan.h" #include "rpc_util.h" Modified: head/usr.bin/rpcgen/rpc_tblout.c ============================================================================== --- head/usr.bin/rpcgen/rpc_tblout.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/rpcgen/rpc_tblout.c Fri Dec 11 23:35:38 2009 (r200420) @@ -43,7 +43,6 @@ __FBSDID("$FreeBSD$"); */ #include #include -#include #include "rpc_parse.h" #include "rpc_scan.h" #include "rpc_util.h" Modified: head/usr.bin/rpcgen/rpc_util.c ============================================================================== --- head/usr.bin/rpcgen/rpc_util.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/rpcgen/rpc_util.c Fri Dec 11 23:35:38 2009 (r200420) @@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$"); * Copyright (C) 1989, Sun Microsystems, Inc. */ #include -#include #include #include #include Modified: head/usr.bin/ruptime/ruptime.c ============================================================================== --- head/usr.bin/ruptime/ruptime.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/ruptime/ruptime.c Fri Dec 11 23:35:38 2009 (r200420) @@ -50,7 +50,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include #include #include Modified: head/usr.bin/rwall/rwall.c ============================================================================== --- head/usr.bin/rwall/rwall.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/rwall/rwall.c Fri Dec 11 23:35:38 2009 (r200420) @@ -60,7 +60,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include Modified: head/usr.bin/sed/main.c ============================================================================== --- head/usr.bin/sed/main.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/sed/main.c Fri Dec 11 23:35:38 2009 (r200420) @@ -51,12 +51,10 @@ static const char sccsid[] = "@(#)main.c #include #include -#include #include #include #include #include -#include #include #include #include Modified: head/usr.bin/sed/misc.c ============================================================================== --- head/usr.bin/sed/misc.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/sed/misc.c Fri Dec 11 23:35:38 2009 (r200420) @@ -41,14 +41,8 @@ static const char sccsid[] = "@(#)misc.c #include #include -#include #include -#include #include -#include - -#include "defs.h" -#include "extern.h" /* * Return a string for a regular expression error passed. This is overkill, Modified: head/usr.bin/showmount/showmount.c ============================================================================== --- head/usr.bin/showmount/showmount.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/showmount/showmount.c Fri Dec 11 23:35:38 2009 (r200420) @@ -55,7 +55,6 @@ static const char rcsid[] = #include #include -#include #include #include #include Modified: head/usr.bin/su/su.c ============================================================================== --- head/usr.bin/su/su.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/su/su.c Fri Dec 11 23:35:38 2009 (r200420) @@ -88,7 +88,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include #include #include Modified: head/usr.bin/systat/fetch.c ============================================================================== --- head/usr.bin/systat/fetch.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/systat/fetch.c Fri Dec 11 23:35:38 2009 (r200420) @@ -42,7 +42,6 @@ static const char sccsid[] = "@(#)fetch. #include #include -#include #include #include #include Modified: head/usr.bin/systat/icmp.c ============================================================================== --- head/usr.bin/systat/icmp.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/systat/icmp.c Fri Dec 11 23:35:38 2009 (r200420) @@ -54,9 +54,7 @@ static char sccsid[] = "@(#)mbufs.c 8.1 #include #include -#include #include -#include #include "systat.h" #include "extern.h" #include "mode.h" Modified: head/usr.bin/systat/iostat.c ============================================================================== --- head/usr.bin/systat/iostat.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/systat/iostat.c Fri Dec 11 23:35:38 2009 (r200420) @@ -73,7 +73,6 @@ static const char sccsid[] = "@(#)iostat #include #include #include -#include #include #include Modified: head/usr.bin/systat/ip.c ============================================================================== --- head/usr.bin/systat/ip.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/systat/ip.c Fri Dec 11 23:35:38 2009 (r200420) @@ -55,10 +55,6 @@ static const char sccsid[] = "@(#)mbufs. #include #include -#include -#include -#include - #include "systat.h" #include "extern.h" #include "mode.h" Modified: head/usr.bin/systat/main.c ============================================================================== --- head/usr.bin/systat/main.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/systat/main.c Fri Dec 11 23:35:38 2009 (r200420) @@ -53,7 +53,6 @@ static const char copyright[] = #include #include #include -#include #include #include #include Modified: head/usr.bin/systat/mbufs.c ============================================================================== --- head/usr.bin/systat/mbufs.c Fri Dec 11 23:30:22 2009 (r200419) +++ head/usr.bin/systat/mbufs.c Fri Dec 11 23:35:38 2009 (r200420) *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***