From e043f37205ffbde5627ff299ad25cd532f2956f0 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 24 Nov 2023 13:12:57 -0700 Subject: [PATCH] bin: Automated cleanup of cdefs and other formatting Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row. Remove /^#if.*\n#endif.*\n#include\s+.*\n/ Remove /\n+#include\s+.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+\n#include\s+/ Remove /\n+#include\s+\n#include\s+/ Remove /\n+#include\s+\n#include\s+/ Sponsored by: Netflix --- bin/cat/cat.c | 1 - bin/cp/utils.c | 3 --- bin/date/date.c | 1 - bin/dd/args.c | 3 --- bin/dd/conv.c | 3 --- bin/dd/conv_tab.c | 3 --- bin/dd/misc.c | 3 --- bin/dd/position.c | 3 --- bin/ed/glbl.c | 1 - bin/getfacl/getfacl.c | 2 -- bin/kenv/kenv.c | 1 - bin/ls/cmp.c | 3 --- bin/ls/print.c | 3 --- bin/ls/util.c | 3 --- bin/pax/ar_io.c | 3 --- bin/pax/ar_subs.c | 3 --- bin/pax/buf_subs.c | 3 --- bin/pax/cache.c | 3 --- bin/pax/cpio.c | 3 --- bin/pax/file_subs.c | 3 --- bin/pax/ftree.c | 3 --- bin/pax/gen_subs.c | 3 --- bin/pax/getoldopt.c | 1 - bin/pax/options.c | 4 ---- bin/pax/pat_rep.c | 3 --- bin/pax/sel_subs.c | 3 --- bin/pax/tables.c | 3 --- bin/pax/tar.c | 3 --- bin/pax/tty_subs.c | 3 --- bin/pkill/pkill.c | 1 - bin/ps/fmt.c | 4 ---- bin/ps/keyword.c | 3 --- bin/ps/nlist.c | 4 ---- bin/ps/print.c | 4 ---- bin/pwait/pwait.c | 1 - bin/realpath/realpath.c | 1 - bin/setfacl/file.c | 1 - bin/setfacl/mask.c | 1 - bin/setfacl/merge.c | 1 - bin/setfacl/remove.c | 1 - bin/setfacl/setfacl.c | 1 - bin/sh/alias.c | 3 --- bin/sh/cd.c | 3 --- bin/sh/error.c | 3 --- bin/sh/eval.c | 3 --- bin/sh/exec.c | 3 --- bin/sh/expand.c | 3 --- bin/sh/histedit.c | 3 --- bin/sh/input.c | 3 --- bin/sh/jobs.c | 3 --- bin/sh/mail.c | 3 --- bin/sh/memalloc.c | 3 --- bin/sh/miscbltin.c | 3 --- bin/sh/mystring.c | 3 --- bin/sh/options.c | 3 --- bin/sh/output.c | 3 --- bin/sh/parser.c | 3 --- bin/sh/redir.c | 3 --- bin/sh/show.c | 3 --- bin/sh/trap.c | 3 --- bin/sh/var.c | 3 --- bin/stty/cchar.c | 3 --- bin/stty/gfmt.c | 3 --- bin/stty/key.c | 3 --- bin/stty/modes.c | 3 --- bin/stty/print.c | 3 --- bin/stty/util.c | 3 --- bin/test/test.c | 1 - bin/uuidgen/uuidgen.c | 1 - 69 files changed, 180 deletions(-) diff --git a/bin/cat/cat.c b/bin/cat/cat.c index 852617010ce..c3812c6d9ca 100644 --- a/bin/cat/cat.c +++ b/bin/cat/cat.c @@ -32,7 +32,6 @@ * SUCH DAMAGE. */ -#include #include #include #include diff --git a/bin/cp/utils.c b/bin/cp/utils.c index 107e6638e45..2e1a50635a1 100644 --- a/bin/cp/utils.c +++ b/bin/cp/utils.c @@ -29,9 +29,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include #include diff --git a/bin/date/date.c b/bin/date/date.c index 9f6a2336de9..0ff3b9f74cb 100644 --- a/bin/date/date.c +++ b/bin/date/date.c @@ -29,7 +29,6 @@ * SUCH DAMAGE. */ -#include #include #include #include diff --git a/bin/dd/args.c b/bin/dd/args.c index c16b37528f9..10bb89e632b 100644 --- a/bin/dd/args.c +++ b/bin/dd/args.c @@ -33,9 +33,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include diff --git a/bin/dd/conv.c b/bin/dd/conv.c index 2ac1e122997..d64d57040fc 100644 --- a/bin/dd/conv.c +++ b/bin/dd/conv.c @@ -33,9 +33,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include diff --git a/bin/dd/conv_tab.c b/bin/dd/conv_tab.c index 7f256e8fd03..feba45826e0 100644 --- a/bin/dd/conv_tab.c +++ b/bin/dd/conv_tab.c @@ -33,9 +33,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include diff --git a/bin/dd/misc.c b/bin/dd/misc.c index c9c99a13280..05c19b5b207 100644 --- a/bin/dd/misc.c +++ b/bin/dd/misc.c @@ -33,9 +33,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include diff --git a/bin/dd/position.c b/bin/dd/position.c index 07a46e4a53f..c092b5c5f8d 100644 --- a/bin/dd/position.c +++ b/bin/dd/position.c @@ -33,9 +33,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include diff --git a/bin/ed/glbl.c b/bin/ed/glbl.c index 94967f8389a..d0a1d570ee1 100644 --- a/bin/ed/glbl.c +++ b/bin/ed/glbl.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include #include #include #include diff --git a/bin/getfacl/getfacl.c b/bin/getfacl/getfacl.c index 25d0731559c..3ac9e61555d 100644 --- a/bin/getfacl/getfacl.c +++ b/bin/getfacl/getfacl.c @@ -30,8 +30,6 @@ * and send the results to stdout */ - -#include #include #include #include diff --git a/bin/kenv/kenv.c b/bin/kenv/kenv.c index 6d414ec892d..fe7ec4236bf 100644 --- a/bin/kenv/kenv.c +++ b/bin/kenv/kenv.c @@ -23,7 +23,6 @@ * SUCH DAMAGE. */ -#include #include #include #include diff --git a/bin/ls/cmp.c b/bin/ls/cmp.c index cc8263f227c..4c60506f345 100644 --- a/bin/ls/cmp.c +++ b/bin/ls/cmp.c @@ -32,9 +32,6 @@ * SUCH DAMAGE. */ -#if 0 -#endif -#include #include #include diff --git a/bin/ls/print.c b/bin/ls/print.c index 75917d60002..979ad0ffc43 100644 --- a/bin/ls/print.c +++ b/bin/ls/print.c @@ -32,9 +32,6 @@ * SUCH DAMAGE. */ -#if 0 -#endif -#include #include #include #include diff --git a/bin/ls/util.c b/bin/ls/util.c index b10169b2d32..40610faa5fa 100644 --- a/bin/ls/util.c +++ b/bin/ls/util.c @@ -32,9 +32,6 @@ * SUCH DAMAGE. */ -#if 0 -#endif -#include #include #include diff --git a/bin/pax/ar_io.c b/bin/pax/ar_io.c index 440098d20fc..c595870aaa5 100644 --- a/bin/pax/ar_io.c +++ b/bin/pax/ar_io.c @@ -33,9 +33,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include #include diff --git a/bin/pax/ar_subs.c b/bin/pax/ar_subs.c index 37505c9573f..8f8a5b84262 100644 --- a/bin/pax/ar_subs.c +++ b/bin/pax/ar_subs.c @@ -33,9 +33,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include #include diff --git a/bin/pax/buf_subs.c b/bin/pax/buf_subs.c index 8ee498f2f82..7f9b31881d5 100644 --- a/bin/pax/buf_subs.c +++ b/bin/pax/buf_subs.c @@ -33,9 +33,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include #include diff --git a/bin/pax/cache.c b/bin/pax/cache.c index 363e5454b6b..d15c9c22344 100644 --- a/bin/pax/cache.c +++ b/bin/pax/cache.c @@ -33,9 +33,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include #include diff --git a/bin/pax/cpio.c b/bin/pax/cpio.c index f036fa42442..8ae40f46134 100644 --- a/bin/pax/cpio.c +++ b/bin/pax/cpio.c @@ -33,9 +33,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include #include diff --git a/bin/pax/file_subs.c b/bin/pax/file_subs.c index 32fecc84bcd..7c68e643f04 100644 --- a/bin/pax/file_subs.c +++ b/bin/pax/file_subs.c @@ -33,9 +33,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include #include diff --git a/bin/pax/ftree.c b/bin/pax/ftree.c index dc14613365d..400eb2faad3 100644 --- a/bin/pax/ftree.c +++ b/bin/pax/ftree.c @@ -33,9 +33,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include #include diff --git a/bin/pax/gen_subs.c b/bin/pax/gen_subs.c index 4497b9d95a6..a92303f6310 100644 --- a/bin/pax/gen_subs.c +++ b/bin/pax/gen_subs.c @@ -33,9 +33,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include #include diff --git a/bin/pax/getoldopt.c b/bin/pax/getoldopt.c index 98e03aef7e6..6b0e83c23a2 100644 --- a/bin/pax/getoldopt.c +++ b/bin/pax/getoldopt.c @@ -10,7 +10,6 @@ * in the Public Domain for your edification and enjoyment. */ -#include #include #include #include diff --git a/bin/pax/options.c b/bin/pax/options.c index 58c5758053a..3567820acce 100644 --- a/bin/pax/options.c +++ b/bin/pax/options.c @@ -33,10 +33,6 @@ * SUCH DAMAGE. */ -#if 0 -#endif - -#include #include #include #include diff --git a/bin/pax/pat_rep.c b/bin/pax/pat_rep.c index 832ffb995cd..0c416741f5d 100644 --- a/bin/pax/pat_rep.c +++ b/bin/pax/pat_rep.c @@ -33,9 +33,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include #include diff --git a/bin/pax/sel_subs.c b/bin/pax/sel_subs.c index 4c19e898f15..ccbb77ccbb5 100644 --- a/bin/pax/sel_subs.c +++ b/bin/pax/sel_subs.c @@ -33,9 +33,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include #include diff --git a/bin/pax/tables.c b/bin/pax/tables.c index ba1ab3989ff..e1e7b7d6d43 100644 --- a/bin/pax/tables.c +++ b/bin/pax/tables.c @@ -33,9 +33,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include #include diff --git a/bin/pax/tar.c b/bin/pax/tar.c index 10e0c33a7e8..50a9a41623c 100644 --- a/bin/pax/tar.c +++ b/bin/pax/tar.c @@ -33,9 +33,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include #include diff --git a/bin/pax/tty_subs.c b/bin/pax/tty_subs.c index 139f1c9965c..73424e12389 100644 --- a/bin/pax/tty_subs.c +++ b/bin/pax/tty_subs.c @@ -33,9 +33,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include #include diff --git a/bin/pkill/pkill.c b/bin/pkill/pkill.c index 3be7bccd14c..4b894a98606 100644 --- a/bin/pkill/pkill.c +++ b/bin/pkill/pkill.c @@ -32,7 +32,6 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include #include #include #include diff --git a/bin/ps/fmt.c b/bin/ps/fmt.c index 34f50fb377d..87e2e0f49a3 100644 --- a/bin/ps/fmt.c +++ b/bin/ps/fmt.c @@ -29,10 +29,6 @@ * SUCH DAMAGE. */ -#if 0 -#endif - -#include #include #include #include diff --git a/bin/ps/keyword.c b/bin/ps/keyword.c index a1d8516d5e9..82c08d3e75f 100644 --- a/bin/ps/keyword.c +++ b/bin/ps/keyword.c @@ -29,9 +29,6 @@ * SUCH DAMAGE. */ -#if 0 -#endif -#include #include #include #include diff --git a/bin/ps/nlist.c b/bin/ps/nlist.c index bed7dcca321..8c6a4814e4d 100644 --- a/bin/ps/nlist.c +++ b/bin/ps/nlist.c @@ -29,10 +29,6 @@ * SUCH DAMAGE. */ -#if 0 -#endif - -#include #include #include diff --git a/bin/ps/print.c b/bin/ps/print.c index 9f48f98c3c4..fc6f7ab2542 100644 --- a/bin/ps/print.c +++ b/bin/ps/print.c @@ -29,10 +29,6 @@ * SUCH DAMAGE. */ -#if 0 -#endif - -#include #include #include #include diff --git a/bin/pwait/pwait.c b/bin/pwait/pwait.c index c3adb2a8b74..0fae2256260 100644 --- a/bin/pwait/pwait.c +++ b/bin/pwait/pwait.c @@ -31,7 +31,6 @@ * OF SUCH DAMAGE. */ -#include #include #include #include diff --git a/bin/realpath/realpath.c b/bin/realpath/realpath.c index 61263e508f5..9ee7f312600 100644 --- a/bin/realpath/realpath.c +++ b/bin/realpath/realpath.c @@ -29,7 +29,6 @@ * SUCH DAMAGE. */ -#include #include #include diff --git a/bin/setfacl/file.c b/bin/setfacl/file.c index aee3c76b6c3..24ef3869cf4 100644 --- a/bin/setfacl/file.c +++ b/bin/setfacl/file.c @@ -24,7 +24,6 @@ * SUCH DAMAGE. */ -#include #include #include diff --git a/bin/setfacl/mask.c b/bin/setfacl/mask.c index 09a97fdc466..5154b17fb5b 100644 --- a/bin/setfacl/mask.c +++ b/bin/setfacl/mask.c @@ -24,7 +24,6 @@ * SUCH DAMAGE. */ -#include #include #include #include diff --git a/bin/setfacl/merge.c b/bin/setfacl/merge.c index 981997c51dd..d77a52ed2f2 100644 --- a/bin/setfacl/merge.c +++ b/bin/setfacl/merge.c @@ -24,7 +24,6 @@ * SUCH DAMAGE. */ -#include #include #include #include diff --git a/bin/setfacl/remove.c b/bin/setfacl/remove.c index 78b3d09e440..5bfab9c2ec9 100644 --- a/bin/setfacl/remove.c +++ b/bin/setfacl/remove.c @@ -24,7 +24,6 @@ * SUCH DAMAGE. */ -#include #include #include #include diff --git a/bin/setfacl/setfacl.c b/bin/setfacl/setfacl.c index 2cb27b5796d..02f10944f16 100644 --- a/bin/setfacl/setfacl.c +++ b/bin/setfacl/setfacl.c @@ -24,7 +24,6 @@ * SUCH DAMAGE. */ -#include #include #include #include diff --git a/bin/sh/alias.c b/bin/sh/alias.c index 239b85f977b..a02554d66e2 100644 --- a/bin/sh/alias.c +++ b/bin/sh/alias.c @@ -30,9 +30,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include "shell.h" #include "output.h" diff --git a/bin/sh/cd.c b/bin/sh/cd.c index 4c8b4c49ac0..b908c4320c0 100644 --- a/bin/sh/cd.c +++ b/bin/sh/cd.c @@ -30,9 +30,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include #include diff --git a/bin/sh/error.c b/bin/sh/error.c index 8f129509b8b..fcc2f309ccb 100644 --- a/bin/sh/error.c +++ b/bin/sh/error.c @@ -30,9 +30,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include /* * Errors and exceptions. */ diff --git a/bin/sh/eval.c b/bin/sh/eval.c index a92adc348c2..7caf1972a39 100644 --- a/bin/sh/eval.c +++ b/bin/sh/eval.c @@ -30,9 +30,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include #include diff --git a/bin/sh/exec.c b/bin/sh/exec.c index b05dff80726..f7788d0758e 100644 --- a/bin/sh/exec.c +++ b/bin/sh/exec.c @@ -30,9 +30,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include #include diff --git a/bin/sh/expand.c b/bin/sh/expand.c index 4403fa8205e..dfafe35fbac 100644 --- a/bin/sh/expand.c +++ b/bin/sh/expand.c @@ -34,9 +34,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include #include diff --git a/bin/sh/histedit.c b/bin/sh/histedit.c index d2ad3335688..5aea58650c6 100644 --- a/bin/sh/histedit.c +++ b/bin/sh/histedit.c @@ -30,9 +30,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include #include diff --git a/bin/sh/input.c b/bin/sh/input.c index 859f2a650fd..26f233ebf7b 100644 --- a/bin/sh/input.c +++ b/bin/sh/input.c @@ -30,9 +30,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include /* defines BUFSIZ */ #include #include diff --git a/bin/sh/jobs.c b/bin/sh/jobs.c index 45f3f66bc7e..90b5892f72b 100644 --- a/bin/sh/jobs.c +++ b/bin/sh/jobs.c @@ -30,9 +30,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include #include diff --git a/bin/sh/mail.c b/bin/sh/mail.c index c5abc9bc3d8..97ea41d8da6 100644 --- a/bin/sh/mail.c +++ b/bin/sh/mail.c @@ -30,9 +30,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include /* * Routines to check for mail. (Perhaps make part of main.c?) */ diff --git a/bin/sh/memalloc.c b/bin/sh/memalloc.c index ee4dff26fac..7850bb147b0 100644 --- a/bin/sh/memalloc.c +++ b/bin/sh/memalloc.c @@ -32,9 +32,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include "shell.h" #include "output.h" diff --git a/bin/sh/miscbltin.c b/bin/sh/miscbltin.c index e0e33284522..6364bd10a58 100644 --- a/bin/sh/miscbltin.c +++ b/bin/sh/miscbltin.c @@ -32,9 +32,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include /* * Miscellaneous builtins. */ diff --git a/bin/sh/mystring.c b/bin/sh/mystring.c index 3d4f5d14544..9ac590d39f6 100644 --- a/bin/sh/mystring.c +++ b/bin/sh/mystring.c @@ -32,9 +32,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include /* * String functions. * diff --git a/bin/sh/options.c b/bin/sh/options.c index c00d82a136a..2dab8f4ea99 100644 --- a/bin/sh/options.c +++ b/bin/sh/options.c @@ -32,9 +32,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include #include diff --git a/bin/sh/output.c b/bin/sh/output.c index 33d5af4be91..baf4b8b7cc1 100644 --- a/bin/sh/output.c +++ b/bin/sh/output.c @@ -32,9 +32,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include /* * Shell output routines. We use our own output routines because: * When a builtin command is interrupted we have to discard diff --git a/bin/sh/parser.c b/bin/sh/parser.c index aa181e567bb..0c1b7a91c25 100644 --- a/bin/sh/parser.c +++ b/bin/sh/parser.c @@ -32,9 +32,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include #include diff --git a/bin/sh/redir.c b/bin/sh/redir.c index 66196dc110b..eb0fc618a73 100644 --- a/bin/sh/redir.c +++ b/bin/sh/redir.c @@ -32,9 +32,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include #include diff --git a/bin/sh/show.c b/bin/sh/show.c index 0b772dd18ea..1ccd4583d3a 100644 --- a/bin/sh/show.c +++ b/bin/sh/show.c @@ -32,9 +32,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include #include diff --git a/bin/sh/trap.c b/bin/sh/trap.c index 0b95278eaf6..2863026a479 100644 --- a/bin/sh/trap.c +++ b/bin/sh/trap.c @@ -32,9 +32,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include #include diff --git a/bin/sh/var.c b/bin/sh/var.c index 262e3e5b106..2f9820a91bd 100644 --- a/bin/sh/var.c +++ b/bin/sh/var.c @@ -32,9 +32,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include #include diff --git a/bin/stty/cchar.c b/bin/stty/cchar.c index c43985cd105..4a65d1b518d 100644 --- a/bin/stty/cchar.c +++ b/bin/stty/cchar.c @@ -27,9 +27,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include diff --git a/bin/stty/gfmt.c b/bin/stty/gfmt.c index d42496a4a44..fbd21382dd8 100644 --- a/bin/stty/gfmt.c +++ b/bin/stty/gfmt.c @@ -27,9 +27,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include diff --git a/bin/stty/key.c b/bin/stty/key.c index cdf3e308fed..6e8f635ac23 100644 --- a/bin/stty/key.c +++ b/bin/stty/key.c @@ -27,9 +27,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include diff --git a/bin/stty/modes.c b/bin/stty/modes.c index db0d7b16cda..d63b958680d 100644 --- a/bin/stty/modes.c +++ b/bin/stty/modes.c @@ -27,9 +27,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include #include "stty.h" diff --git a/bin/stty/print.c b/bin/stty/print.c index 7e305e94907..d7ab2abbcf1 100644 --- a/bin/stty/print.c +++ b/bin/stty/print.c @@ -27,9 +27,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include diff --git a/bin/stty/util.c b/bin/stty/util.c index f51404ebf9d..4077ee354f8 100644 --- a/bin/stty/util.c +++ b/bin/stty/util.c @@ -27,9 +27,6 @@ * SUCH DAMAGE. */ -#ifndef lint -#endif /* not lint */ -#include #include #include diff --git a/bin/test/test.c b/bin/test/test.c index 1cb3eca8fe1..af2783f0aee 100644 --- a/bin/test/test.c +++ b/bin/test/test.c @@ -14,7 +14,6 @@ * as a builtin for /bin/sh (#define SHELL). */ -#include #include #include diff --git a/bin/uuidgen/uuidgen.c b/bin/uuidgen/uuidgen.c index 853c491da46..3e2c0324a95 100644 --- a/bin/uuidgen/uuidgen.c +++ b/bin/uuidgen/uuidgen.c @@ -26,7 +26,6 @@ * */ -#include #include #include