diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2023-04-19 12:58:17 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2023-04-19 12:58:17 +0000 |
commit | e584dd63576a6db8099d4582e43ccf5a04218eb4 (patch) | |
tree | af0d168dd5883473e2410df70bceb3797de66949 /usr.bin | |
parent | be40ce669fc0c95c5b0a58e5f0e62daa230eb680 (diff) |
remove duplicate includes
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ctfconv/pool.c | 3 | ||||
-rw-r--r-- | usr.bin/dig/lib/dns/gen.c | 1 | ||||
-rw-r--r-- | usr.bin/dig/lib/isc/include/isc/hash.h | 8 | ||||
-rw-r--r-- | usr.bin/systat/nfs.c | 3 | ||||
-rw-r--r-- | usr.bin/xargs/strnsubst.c | 3 |
5 files changed, 4 insertions, 14 deletions
diff --git a/usr.bin/ctfconv/pool.c b/usr.bin/ctfconv/pool.c index 24129248527..d337603ea10 100644 --- a/usr.bin/ctfconv/pool.c +++ b/usr.bin/ctfconv/pool.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pool.c,v 1.3 2017/08/29 21:10:20 deraadt Exp $ */ +/* $OpenBSD: pool.c,v 1.4 2023/04/19 12:58:15 jsg Exp $ */ /* * Copyright (c) 2017 Martin Pieuchot @@ -19,7 +19,6 @@ #ifndef NOPOOL #include <sys/types.h> -#include <sys/types.h> #include <sys/queue.h> #include <assert.h> diff --git a/usr.bin/dig/lib/dns/gen.c b/usr.bin/dig/lib/dns/gen.c index 96da6d300c2..846312b40c5 100644 --- a/usr.bin/dig/lib/dns/gen.c +++ b/usr.bin/dig/lib/dns/gen.c @@ -22,7 +22,6 @@ #include <dirent.h> #include <stdlib.h> #include <stdio.h> -#include <stdlib.h> #include <string.h> #include <time.h> #include <unistd.h> diff --git a/usr.bin/dig/lib/isc/include/isc/hash.h b/usr.bin/dig/lib/isc/include/isc/hash.h index fbc103b1b22..a691b7741b5 100644 --- a/usr.bin/dig/lib/isc/include/isc/hash.h +++ b/usr.bin/dig/lib/isc/include/isc/hash.h @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: hash.h,v 1.4 2020/09/14 08:40:44 florian Exp $ */ +/* $Id: hash.h,v 1.5 2023/04/19 12:58:15 jsg Exp $ */ #ifndef ISC_HASH_H #define ISC_HASH_H 1 @@ -74,12 +74,6 @@ */ /*** - *** Imports - ***/ - -#include <isc/types.h> - -/*** *** Functions ***/ diff --git a/usr.bin/systat/nfs.c b/usr.bin/systat/nfs.c index 87feef6e71e..df6c9b9e97d 100644 --- a/usr.bin/systat/nfs.c +++ b/usr.bin/systat/nfs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs.c,v 1.8 2019/06/28 13:35:04 deraadt Exp $ */ +/* $OpenBSD: nfs.c,v 1.9 2023/04/19 12:58:15 jsg Exp $ */ /* * Copyright (c) 2009 Jasper Lievisse Adriaanse <jasper@openbsd.org> @@ -21,7 +21,6 @@ #include <sys/mount.h> #include <sys/signal.h> #include <sys/sysctl.h> -#include <sys/types.h> #include <nfs/rpcv2.h> #include <nfs/nfsproto.h> #include <nfs/nfs.h> diff --git a/usr.bin/xargs/strnsubst.c b/usr.bin/xargs/strnsubst.c index a26edc57cc7..5cb404cec53 100644 --- a/usr.bin/xargs/strnsubst.c +++ b/usr.bin/xargs/strnsubst.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strnsubst.c,v 1.7 2019/07/03 03:24:02 deraadt Exp $ */ +/* $OpenBSD: strnsubst.c,v 1.8 2023/04/19 12:58:16 jsg Exp $ */ /* $FreeBSD: strnsubst.c,v 1.6 2002/06/22 12:58:42 jmallett Exp $ */ /* @@ -67,7 +67,6 @@ done: } #ifdef TEST -#include <stdio.h> int main(void) |