Remove unneeded header includes from usr.bin/ except contributed code.

Tested with:	make universe
This commit is contained in:
delphij 2009-12-11 23:35:38 +00:00
parent f8bfec1fb2
commit b963db4652
121 changed files with 19 additions and 193 deletions

View File

@ -29,7 +29,6 @@ __FBSDID("$FreeBSD$");
#include <sys/queue.h>
#include <sys/types.h>
#include <errno.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -33,7 +33,6 @@ __FBSDID("$FreeBSD$");
#include <err.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

View File

@ -55,7 +55,6 @@ __FBSDID("$FreeBSD$");
#include <time.h>
#include <unistd.h>
#include "pathnames.h"
#include "calendar.h"
struct passwd *pw;

View File

@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$");
#include <string.h>
#include <time.h>
#include "pathnames.h"
#include "calendar.h"
struct tm *tp;

View File

@ -30,7 +30,6 @@ __FBSDID("$FreeBSD$");
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "calendar.h"

View File

@ -30,7 +30,6 @@ __FBSDID("$FreeBSD$");
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "calendar.h"

View File

@ -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 <bsd.prog.mk>

View File

@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <stdint.h>
#include <unistd.h>
#include "extern.h"

View File

@ -17,7 +17,6 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <stdio.h>
#include <stdint.h>
#include <unistd.h>
#include "extern.h"

View File

@ -43,7 +43,6 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <unistd.h>
#include <stdint.h>
#include "extern.h"

View File

@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <unistd.h>
#include <stdint.h>
#include "extern.h"

View File

@ -45,12 +45,10 @@ __FBSDID("$FreeBSD$");
#include <sys/stat.h>
#include <err.h>
#include <errno.h>
#include <limits.h>
#include <signal.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include "extern.h"

View File

@ -45,7 +45,6 @@ __FBSDID("$FreeBSD$");
#include <err.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "extern.h"

View File

@ -50,7 +50,6 @@ __FBSDID("$FreeBSD$");
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <wchar.h>

View File

@ -48,12 +48,9 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <err.h>
#include <errno.h>
#include <limits.h>
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <wchar.h>

View File

@ -67,13 +67,11 @@ __FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/stat.h>
#include <ctype.h>
#include <errno.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "zopen.h"
#define BITS 16 /* Default bits. */

View File

@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$");
#include <stdlib.h>
#include <stdint.h>
#include <unistd.h>
#include <string.h>
int cflag;
int gflag;

View File

@ -52,7 +52,6 @@ __FBSDID("$FreeBSD$");
#include <stdlib.h>
#include <unistd.h>
#include <wchar.h>
#include <wctype.h>
/*
* expand - expand tabs to equivalent spaces

View File

@ -34,7 +34,6 @@ __FBSDID("$FreeBSD$");
#include <sys/stat.h>
#include <sys/time.h>
#include <ctype.h>
#include <err.h>
#include <errno.h>
#include <signal.h>

View File

@ -10,7 +10,6 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

View File

@ -52,7 +52,6 @@ __FBSDID("$FreeBSD$");
#include <fts.h>
#include <regex.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "find.h"

View File

@ -15,7 +15,6 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <stdio.h>
#include <ctype.h>
/* The code at the top of get_date which figures out the offset of the

View File

@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$");
#include <sys/stat.h>
#include <err.h>
#include <errno.h>
#include <fts.h>
#include <grp.h>
#include <inttypes.h>

View File

@ -53,7 +53,6 @@ __FBSDID("$FreeBSD$");
#include <sys/stat.h>
#include <err.h>
#include <errno.h>
#include <fcntl.h>
#include <fts.h>
#include <locale.h>

View File

@ -48,7 +48,6 @@ __FBSDID("$FreeBSD$");
#include <sys/stat.h>
#include <err.h>
#include <errno.h>
#include <fts.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -49,7 +49,6 @@ __FBSDID("$FreeBSD$");
#include <err.h>
#include <fts.h>
#include <regex.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@ -310,7 +310,7 @@ show_text(const char *directory, const char *file_name, const char *header)
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);

View File

@ -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"

View File

@ -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';

View File

@ -180,7 +180,6 @@ __FBSDID("$FreeBSD$");
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sysexits.h>
#include <unistd.h>
#include <wchar.h>

View File

@ -54,7 +54,6 @@ __FBSDID("$FreeBSD$");
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <wchar.h>
#include <wctype.h>

View File

@ -68,7 +68,6 @@ __FBSDID("$FreeBSD$");
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "extern.h"

View File

@ -7,7 +7,6 @@ __FBSDID("$FreeBSD$");
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
int

View File

@ -47,7 +47,6 @@ __FBSDID("$FreeBSD$");
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "hexdump.h"
enum _vflag vflag = FIRST;

View File

@ -48,7 +48,6 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <locale.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "hexdump.h"

View File

@ -59,7 +59,6 @@ __FBSDID("$FreeBSD$");
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
/* Defaults */

View File

@ -34,8 +34,6 @@ __FBSDID("$FreeBSD$");
#include <sys/uio.h>
#include <sys/user.h>
#include <sys/sysctl.h>
#include <fcntl.h>
#include <dirent.h>
#include <jail.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -47,8 +47,6 @@ __FBSDID("$FreeBSD$");
#include <sys/uio.h>
#include <sys/ktrace.h>
#include <stdio.h>
#include "ktrace.h"
void timevaladd(struct timeval *, struct timeval *);

View File

@ -51,9 +51,6 @@ __FBSDID("$FreeBSD$");
#include <ctype.h>
#include <err.h>
#include <errno.h>
#include <fcntl.h>
#include <grp.h>
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -31,8 +31,8 @@
* SUCH DAMAGE.
*
* @(#)pathnames.h 8.1 (Berkeley) 6/6/93
*
* $FreeBSD$
*/
#include <paths.h>
#define _PATH_ACCT "/var/account/acct"

View File

@ -33,13 +33,9 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <sys/acct.h>
#include <ctype.h>
#include <err.h>
#include <errno.h>
#include <fcntl.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int readrec_forward(FILE *f, struct acctv2 *av2);

View File

@ -32,7 +32,6 @@ __FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdarg.h>
#include <stdint.h>
#include <ctype.h>
#include <errno.h>

View File

@ -62,7 +62,6 @@ __FBSDID("$FreeBSD$");
#include <sys/signal.h>
#include <sys/consio.h>
#include <err.h>
#include <ctype.h>
#include <errno.h>
#include <pwd.h>
#include <stdio.h>

View File

@ -64,8 +64,8 @@ __FBSDID("$FreeBSD$");
#include <err.h>
#include <errno.h>
#include <grp.h>
#include <libutil.h>
#include <login_cap.h>
#include <paths.h>
#include <pwd.h>
#include <setjmp.h>
#include <signal.h>

View File

@ -71,7 +71,6 @@ __FBSDID("$FreeBSD$");
#include <syslog.h>
#include <unistd.h>
#include "login.h"
#include "pathnames.h"
static void login_protect(const char *, char *, int, uid_t, gid_t);

View File

@ -34,8 +34,6 @@
* $FreeBSD$
*/
#include <paths.h>
#define _PATH_HUSHLOGIN ".hushlogin"
#define _PATH_MOTDFILE "/etc/motd"
#define _PATH_FBTAB "/etc/fbtab"

View File

@ -56,7 +56,6 @@ __FBSDID("$FreeBSD$");
#include <err.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
static void usage(void);

View File

@ -52,7 +52,6 @@ __FBSDID("$FreeBSD$");
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#define BASEMODE S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | \

View File

@ -48,7 +48,6 @@ __FBSDID("$FreeBSD$");
#include <ctype.h>
#include <err.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@ -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");

View File

@ -30,7 +30,6 @@ static const char rcsid[] =
#endif /* not lint */
#include <calendar.h>
#include <ctype.h>
#include <err.h>
#include <langinfo.h>
#include <locale.h>

View File

@ -52,8 +52,6 @@ __FBSDID("$FreeBSD$");
#include <netatalk/at.h>
#include <netatalk/ddp_var.h>
#include <errno.h>
#include <nlist.h>
#include <netdb.h>
#include <stdint.h>
#include <stdio.h>

View File

@ -47,7 +47,6 @@ __FBSDID("$FreeBSD$");
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "netstat.h"

View File

@ -68,7 +68,6 @@ __FBSDID("$FreeBSD$");
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "netstat.h"

View File

@ -111,8 +111,6 @@ __FBSDID("$FreeBSD$");
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include "netstat.h"
#ifdef IPSEC

View File

@ -64,8 +64,6 @@ __FBSDID("$FreeBSD$");
#define SANAMES
#include <netipx/spx_debug.h>
#include <nlist.h>
#include <errno.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>

View File

@ -60,12 +60,10 @@ __FBSDID("$FreeBSD$");
#include <ctype.h>
#include <err.h>
#include <errno.h>
#include <kvm.h>
#include <limits.h>
#include <netdb.h>
#include <nlist.h>
#include <paths.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -54,8 +54,6 @@ __FBSDID("$FreeBSD$");
#include <memstat.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "netstat.h"
/*

View File

@ -50,11 +50,9 @@ __FBSDID("$FreeBSD$");
#include <netgraph/ng_socketvar.h>
#include <nlist.h>
#include <errno.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <err.h>
#include "netstat.h"

View File

@ -83,8 +83,6 @@ __FBSDID("$FreeBSD$");
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include "netstat.h"
#ifdef IPSEC

View File

@ -69,7 +69,6 @@ __FBSDID("$FreeBSD$");
#include <stdlib.h>
#include <string.h>
#include <sysexits.h>
#include <unistd.h>
#include <err.h>
#include "netstat.h"

View File

@ -52,13 +52,10 @@ __FBSDID("$FreeBSD$");
#include <err.h>
#include <errno.h>
#include <libutil.h>
#include <netdb.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "netstat.h"
#ifdef SCTP

View File

@ -34,10 +34,8 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <err.h>
#include <errno.h>
#include <grp.h>
#include <libgen.h>
#include <limits.h>
#include <login_cap.h>
#include <paths.h>
#include <pwd.h>

View File

@ -58,7 +58,6 @@ __FBSDID("$FreeBSD$");
#include <netdb.h>
#endif /* YP */
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@ -62,7 +62,6 @@ static const char rcsid[] =
#include <signal.h>
#include <fcntl.h>
#include <ctype.h>
#include <errno.h>
#include <kvm.h>
#include <limits.h>
@ -71,7 +70,6 @@ static const char rcsid[] =
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <paths.h>
#include <err.h>
struct nlist nl[] = {

View File

@ -54,7 +54,6 @@ __FBSDID("$FreeBSD$");
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
static void dofile(void);

View File

@ -41,7 +41,6 @@ __FBSDID("$FreeBSD$");
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
#include <syslog.h>
#include <unistd.h>
#include <security/pam_appl.h>

View File

@ -52,12 +52,9 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <err.h>
#include <errno.h>
#include <limits.h>
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <wchar.h>

View File

@ -46,11 +46,8 @@ __FBSDID("$FreeBSD$");
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "extern.h"
/*
* egetopt: get option letter from argument vector (an extended
* version of getopt).

View File

@ -34,7 +34,6 @@
#include <errno.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "procstat.h"

View File

@ -30,7 +30,6 @@
#include <sys/sysctl.h>
#include <sys/user.h>
#include <err.h>
#include <stdio.h>
#include <string.h>

View File

@ -36,7 +36,6 @@
#include <arpa/inet.h>
#include <err.h>
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -30,7 +30,6 @@
#include <sys/sysctl.h>
#include <sys/user.h>
#include <err.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -49,11 +49,9 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <err.h>
#include <errno.h>
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <wchar.h>

View File

@ -72,9 +72,7 @@ __FBSDID("$FreeBSD$");
#include <err.h>
#include <errno.h>
#include <fcntl.h>
#include <libutil.h>
#include <netdb.h>
#include <paths.h>
#include <pwd.h>
#include <setjmp.h>
#include <termios.h>

View File

@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$");
* Copyright (C) 1987, Sun Microsytsems, Inc.
*/
#include <stdio.h>
#include <string.h>
#include <rpc/types.h>
#include "rpc_parse.h"
#include "rpc_scan.h"

View File

@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$");
* Copyright (C) 1987, Sun Microsystems, Inc.
*/
#include <stdio.h>
#include <ctype.h>
#include "rpc_parse.h"
#include "rpc_scan.h"
#include "rpc_util.h"

View File

@ -43,7 +43,6 @@ __FBSDID("$FreeBSD$");
*/
#include <err.h>
#include <stdio.h>
#include <string.h>
#include "rpc_parse.h"
#include "rpc_scan.h"
#include "rpc_util.h"

View File

@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$");
* Copyright (C) 1989, Sun Microsystems, Inc.
*/
#include <err.h>
#include <ctype.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>

View File

@ -50,7 +50,6 @@ __FBSDID("$FreeBSD$");
#include <dirent.h>
#include <err.h>
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -60,7 +60,6 @@ __FBSDID("$FreeBSD$");
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>

View File

@ -51,12 +51,10 @@ static const char sccsid[] = "@(#)main.c 8.2 (Berkeley) 1/3/94";
#include <err.h>
#include <errno.h>
#include <fcntl.h>
#include <libgen.h>
#include <limits.h>
#include <locale.h>
#include <regex.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@ -41,14 +41,8 @@ static const char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 6/6/93";
#include <sys/types.h>
#include <err.h>
#include <limits.h>
#include <regex.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "defs.h"
#include "extern.h"
/*
* Return a string for a regular expression error passed. This is overkill,

View File

@ -55,7 +55,6 @@ static const char rcsid[] =
#include <sys/socketvar.h>
#include <err.h>
#include <netdb.h>
#include <rpc/rpc.h>
#include <rpc/pmap_clnt.h>
#include <rpc/pmap_prot.h>

View File

@ -88,7 +88,6 @@ __FBSDID("$FreeBSD$");
#include <err.h>
#include <errno.h>
#include <grp.h>
#include <login_cap.h>
#include <paths.h>
#include <pwd.h>

View File

@ -42,7 +42,6 @@ static const char sccsid[] = "@(#)fetch.c 8.1 (Berkeley) 6/6/93";
#include <sys/types.h>
#include <sys/sysctl.h>
#include <err.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>

View File

@ -54,9 +54,7 @@ static char sccsid[] = "@(#)mbufs.c 8.1 (Berkeley) 6/6/93";
#include <netinet/ip_icmp.h>
#include <netinet/icmp_var.h>
#include <stdlib.h>
#include <string.h>
#include <paths.h>
#include "systat.h"
#include "extern.h"
#include "mode.h"

View File

@ -73,7 +73,6 @@ static const char sccsid[] = "@(#)iostat.c 8.1 (Berkeley) 6/6/93";
#include <devstat.h>
#include <err.h>
#include <nlist.h>
#include <paths.h>
#include <stdlib.h>
#include <string.h>

View File

@ -55,10 +55,6 @@ static const char sccsid[] = "@(#)mbufs.c 8.1 (Berkeley) 6/6/93";
#include <netinet/udp.h>
#include <netinet/udp_var.h>
#include <stdlib.h>
#include <string.h>
#include <paths.h>
#include "systat.h"
#include "extern.h"
#include "mode.h"

View File

@ -53,7 +53,6 @@ static const char copyright[] =
#include <limits.h>
#include <locale.h>
#include <nlist.h>
#include <paths.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -47,7 +47,6 @@ static const char sccsid[] = "@(#)mbufs.c 8.1 (Berkeley) 6/6/93";
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <paths.h>
#include "systat.h"
#include "extern.h"

View File

@ -60,8 +60,6 @@
__FBSDID("$FreeBSD$");
#include <sys/types.h>
#include "systat.h"
#include "extern.h"
#include "mode.h"

View File

@ -74,7 +74,6 @@ static const char sccsid[] = "@(#)netstat.c 8.1 (Berkeley) 6/6/93";
#include <netdb.h>
#include <nlist.h>
#include <paths.h>
#include <stdlib.h>
#include <string.h>

View File

@ -53,7 +53,6 @@ static const char sccsid[] = "@(#)swap.c 8.3 (Berkeley) 4/29/95";
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <err.h>
#include "systat.h"
#include "extern.h"

View File

@ -57,9 +57,7 @@ __FBSDID("$FreeBSD$");
#include <netinet/tcp_timer.h>
#include <netinet/tcp_var.h>
#include <stdlib.h>
#include <string.h>
#include <paths.h>
#include "systat.h"
#include "extern.h"

View File

@ -60,7 +60,6 @@ static const char sccsid[] = "@(#)vmstat.c 8.2 (Berkeley) 1/12/94";
#include <errno.h>
#include <langinfo.h>
#include <nlist.h>
#include <paths.h>
#include <signal.h>
#include <stdlib.h>
#include <string.h>

View File

@ -33,8 +33,6 @@ __FBSDID("$FreeBSD$");
#endif
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>

View File

@ -52,7 +52,6 @@ static const char rcsid[] =
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
typedef struct _list {

View File

@ -59,7 +59,6 @@ static const char rcsid[] =
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <unistd.h>
static int getstathz(void);

View File

@ -45,8 +45,6 @@ static const char copyright[] =
static const char sccsid[] = "@(#)tput.c 8.2 (Berkeley) 3/19/94";
#endif
#include <termios.h>
#include <err.h>
#include <termcap.h>
#include <stdio.h>

Some files were not shown because too many files have changed in this diff Show More