From 4f4e9aa8e16aaaf7dea9bb8053168316c0515626 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 23 Jul 2003 07:29:54 +0000 Subject: Don't include headers already included by system.h: Don't include closeout.h. --- src/basename.c | 1 - src/cat.c | 1 - src/chroot.c | 1 - src/cksum.c | 1 - src/comm.c | 1 - src/csplit.c | 1 - src/cut.c | 1 - src/date.c | 1 - src/dd.c | 1 - src/dirname.c | 1 - src/echo.c | 1 - src/env.c | 1 - src/expand.c | 1 - src/expr.c | 1 - src/factor.c | 1 - src/fmt.c | 1 - src/fold.c | 1 - src/head.c | 1 - src/hostid.c | 1 - src/hostname.c | 1 - src/id.c | 1 - src/join.c | 1 - src/kill.c | 1 - src/logname.c | 1 - src/md5sum.c | 1 - src/nice.c | 1 - src/nl.c | 1 - src/nohup.c | 1 - src/od.c | 1 - src/paste.c | 1 - src/pathchk.c | 1 - src/pinky.c | 1 - src/pr.c | 1 - src/printenv.c | 1 - src/printf.c | 1 - src/ptx.c | 1 - src/pwd.c | 1 - src/seq.c | 1 - src/setuidgid.c | 1 - src/shred.c | 1 - src/sleep.c | 1 - src/sort.c | 1 - src/split.c | 1 - src/stat.c | 1 - src/stty.c | 1 - src/su.c | 1 - src/sum.c | 1 - src/tac.c | 1 - src/tail.c | 1 - src/tee.c | 1 - src/test.c | 1 - src/tr.c | 1 - src/true.c | 1 - src/tsort.c | 1 - src/tty.c | 1 - src/uname.c | 1 - src/unexpand.c | 1 - src/uniq.c | 1 - src/uptime.c | 1 - src/users.c | 1 - src/wc.c | 1 - src/who.c | 1 - src/whoami.c | 1 - src/yes.c | 1 - 64 files changed, 64 deletions(-) (limited to 'src') diff --git a/src/basename.c b/src/basename.c index f76defb91..805ee25ca 100644 --- a/src/basename.c +++ b/src/basename.c @@ -33,7 +33,6 @@ #include "long-options.h" #include "dirname.h" #include "error.h" -#include "closeout.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "basename" diff --git a/src/cat.c b/src/cat.c index a13b9f99e..cf0a90016 100644 --- a/src/cat.c +++ b/src/cat.c @@ -31,7 +31,6 @@ # include #endif #include "system.h" -#include "closeout.h" #include "error.h" #include "full-write.h" #include "safe-read.h" diff --git a/src/chroot.c b/src/chroot.c index 8be5fe6a0..78836c8a5 100644 --- a/src/chroot.c +++ b/src/chroot.c @@ -24,7 +24,6 @@ #include "system.h" #include "long-options.h" #include "error.h" -#include "closeout.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "chroot" diff --git a/src/cksum.c b/src/cksum.c index 7291ad437..4d0fec187 100644 --- a/src/cksum.c +++ b/src/cksum.c @@ -117,7 +117,6 @@ main (void) #else /* !CRCTAB */ # include -# include "closeout.h" # include "long-options.h" # include "error.h" # include "inttostr.h" diff --git a/src/comm.c b/src/comm.c index 26716dfc1..efa5ee431 100644 --- a/src/comm.c +++ b/src/comm.c @@ -23,7 +23,6 @@ #include #include #include "system.h" -#include "closeout.h" #include "linebuffer.h" #include "error.h" #include "hard-locale.h" diff --git a/src/csplit.c b/src/csplit.c index e17b4a7b9..e6bdb558c 100644 --- a/src/csplit.c +++ b/src/csplit.c @@ -26,7 +26,6 @@ #include #include "system.h" -#include "closeout.h" #include diff --git a/src/cut.c b/src/cut.c index bd2a3e098..f14eea890 100644 --- a/src/cut.c +++ b/src/cut.c @@ -30,7 +30,6 @@ #include #include "system.h" -#include "closeout.h" #include "error.h" #include "getdelim2.h" #include "hash.h" diff --git a/src/date.c b/src/date.c index 8f52f3708..d77d8ca48 100644 --- a/src/date.c +++ b/src/date.c @@ -27,7 +27,6 @@ #include "system.h" #include "argmatch.h" -#include "closeout.h" #include "error.h" #include "exitfail.h" #include "getdate.h" diff --git a/src/dd.c b/src/dd.c index ee4ea68c5..997759201 100644 --- a/src/dd.c +++ b/src/dd.c @@ -27,7 +27,6 @@ #include #include "system.h" -#include "closeout.h" #include "error.h" #include "full-write.h" #include "getpagesize.h" diff --git a/src/dirname.c b/src/dirname.c index 5670ec6c2..ec4e353f7 100644 --- a/src/dirname.c +++ b/src/dirname.c @@ -25,7 +25,6 @@ #include "long-options.h" #include "error.h" #include "dirname.h" -#include "closeout.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "dirname" diff --git a/src/echo.c b/src/echo.c index 9ce8547ad..e1629a638 100644 --- a/src/echo.c +++ b/src/echo.c @@ -19,7 +19,6 @@ #include #include #include "system.h" -#include "closeout.h" #include "long-options.h" /* The official name of this program (e.g., no `g' prefix). */ diff --git a/src/env.c b/src/env.c index 27414a288..440ec8fb3 100644 --- a/src/env.c +++ b/src/env.c @@ -85,7 +85,6 @@ #include "system.h" #include "error.h" -#include "closeout.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "env" diff --git a/src/expand.c b/src/expand.c index 1cc7f754b..fcd35429b 100644 --- a/src/expand.c +++ b/src/expand.c @@ -39,7 +39,6 @@ #include #include #include "system.h" -#include "closeout.h" #include "error.h" #include "posixver.h" #include "quote.h" diff --git a/src/expr.c b/src/expr.c index c7f81db3f..b6132755a 100644 --- a/src/expr.c +++ b/src/expr.c @@ -36,7 +36,6 @@ #include #include "long-options.h" #include "error.h" -#include "closeout.h" #include "exitfail.h" #include "inttostr.h" #include "quotearg.h" diff --git a/src/factor.c b/src/factor.c index 6c01d3964..c364781a1 100644 --- a/src/factor.c +++ b/src/factor.c @@ -26,7 +26,6 @@ #define NDEBUG 1 #include "system.h" -#include "closeout.h" #include "error.h" #include "inttostr.h" #include "long-options.h" diff --git a/src/fmt.c b/src/fmt.c index a263b1a3e..aa188d65d 100644 --- a/src/fmt.c +++ b/src/fmt.c @@ -27,7 +27,6 @@ #define word unused_word_type #include "system.h" -#include "closeout.h" #include "error.h" #include "quote.h" #include "xstrtol.h" diff --git a/src/fold.c b/src/fold.c index 5787810ad..8caed2f9e 100644 --- a/src/fold.c +++ b/src/fold.c @@ -24,7 +24,6 @@ #include #include "system.h" -#include "closeout.h" #include "error.h" #include "posixver.h" #include "xstrtol.h" diff --git a/src/head.c b/src/head.c index 4028d85da..3d8103f85 100644 --- a/src/head.c +++ b/src/head.c @@ -32,7 +32,6 @@ #include "system.h" -#include "closeout.h" #include "error.h" #include "full-write.h" #include "full-read.h" diff --git a/src/hostid.c b/src/hostid.c index a0ea77be8..3119aadff 100644 --- a/src/hostid.c +++ b/src/hostid.c @@ -22,7 +22,6 @@ #include #include "system.h" -#include "closeout.h" #include "long-options.h" #include "error.h" diff --git a/src/hostname.c b/src/hostname.c index 540310115..8f97a7aff 100644 --- a/src/hostname.c +++ b/src/hostname.c @@ -22,7 +22,6 @@ #include #include "system.h" -#include "closeout.h" #include "long-options.h" #include "error.h" diff --git a/src/id.c b/src/id.c index d0c3aa2a5..2880928d6 100644 --- a/src/id.c +++ b/src/id.c @@ -28,7 +28,6 @@ #include "system.h" #include "error.h" -#include "closeout.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "id" diff --git a/src/join.c b/src/join.c index f6d9b06a0..554df88fd 100644 --- a/src/join.c +++ b/src/join.c @@ -25,7 +25,6 @@ #include #include "system.h" -#include "closeout.h" #include "error.h" #include "hard-locale.h" #include "linebuffer.h" diff --git a/src/kill.c b/src/kill.c index 2808305f3..7f3ecb14b 100644 --- a/src/kill.c +++ b/src/kill.c @@ -34,7 +34,6 @@ #endif #include "system.h" -#include "closeout.h" #include "error.h" #include "sig2str.h" diff --git a/src/logname.c b/src/logname.c index 52c3baae3..4ff863924 100644 --- a/src/logname.c +++ b/src/logname.c @@ -21,7 +21,6 @@ #include #include "system.h" -#include "closeout.h" #include "error.h" #include "long-options.h" diff --git a/src/md5sum.c b/src/md5sum.c index 43c1ef79f..247302021 100644 --- a/src/md5sum.c +++ b/src/md5sum.c @@ -29,7 +29,6 @@ #include "sha.h" #include "checksum.h" #include "getline.h" -#include "closeout.h" #include "error.h" /* The official name of this program (e.g., no `g' prefix). */ diff --git a/src/nice.c b/src/nice.c index b05b6cc41..6270b8b7c 100644 --- a/src/nice.c +++ b/src/nice.c @@ -29,7 +29,6 @@ #endif #include "system.h" -#include "closeout.h" #include "error.h" #include "long-options.h" #include "posixver.h" diff --git a/src/nl.c b/src/nl.c index 4f372d0d8..befbc0e4d 100644 --- a/src/nl.c +++ b/src/nl.c @@ -25,7 +25,6 @@ #include #include "system.h" -#include "closeout.h" #include diff --git a/src/nohup.c b/src/nohup.c index eee2ca099..9a7221f8c 100644 --- a/src/nohup.c +++ b/src/nohup.c @@ -24,7 +24,6 @@ #include "system.h" -#include "closeout.h" #include "error.h" #include "long-options.h" #include "path-concat.h" diff --git a/src/od.c b/src/od.c index 08620a93f..710786e0f 100644 --- a/src/od.c +++ b/src/od.c @@ -24,7 +24,6 @@ #include #include #include "system.h" -#include "closeout.h" #include "error.h" #include "posixver.h" #include "xstrtol.h" diff --git a/src/paste.c b/src/paste.c index 3ce91f066..dfc46cafc 100644 --- a/src/paste.c +++ b/src/paste.c @@ -41,7 +41,6 @@ #include #include #include "system.h" -#include "closeout.h" #include "error.h" /* The official name of this program (e.g., no `g' prefix). */ diff --git a/src/pathchk.c b/src/pathchk.c index 728a0af09..4a8064bef 100644 --- a/src/pathchk.c +++ b/src/pathchk.c @@ -46,7 +46,6 @@ #include "system.h" #include "error.h" #include "long-options.h" -#include "closeout.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "pathchk" diff --git a/src/pinky.c b/src/pinky.c index ce5e03bfe..827112a2a 100644 --- a/src/pinky.c +++ b/src/pinky.c @@ -27,7 +27,6 @@ #include "error.h" #include "readutmp.h" -#include "closeout.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "pinky" diff --git a/src/pr.c b/src/pr.c index fba74ce37..e6883bbbe 100644 --- a/src/pr.c +++ b/src/pr.c @@ -315,7 +315,6 @@ #include #include #include "system.h" -#include "closeout.h" #include "error.h" #include "mbswidth.h" #include "posixver.h" diff --git a/src/printenv.c b/src/printenv.c index f1aa79ffd..0ad821b08 100644 --- a/src/printenv.c +++ b/src/printenv.c @@ -33,7 +33,6 @@ #include #include "system.h" -#include "closeout.h" #include "error.h" #include "exitfail.h" #include "long-options.h" diff --git a/src/printf.c b/src/printf.c index 361334acc..97b7d9762 100644 --- a/src/printf.c +++ b/src/printf.c @@ -54,7 +54,6 @@ #include "system.h" #include "long-options.h" #include "error.h" -#include "closeout.h" #include "unicodeio.h" /* The official name of this program (e.g., no `g' prefix). */ diff --git a/src/ptx.c b/src/ptx.c index 92252cdb8..614ec50f2 100644 --- a/src/ptx.c +++ b/src/ptx.c @@ -24,7 +24,6 @@ #include #include #include "system.h" -#include "closeout.h" #include "argmatch.h" #include "bumpalloc.h" #include "diacrit.h" diff --git a/src/pwd.c b/src/pwd.c index 7d828f79f..c4be503d8 100644 --- a/src/pwd.c +++ b/src/pwd.c @@ -22,7 +22,6 @@ #include #include "system.h" -#include "closeout.h" #include "long-options.h" #include "error.h" #include "xgetcwd.h" diff --git a/src/seq.c b/src/seq.c index cae6276c4..b073c3c01 100644 --- a/src/seq.c +++ b/src/seq.c @@ -24,7 +24,6 @@ #include #include "system.h" -#include "closeout.h" #include "error.h" #include "xstrtol.h" #include "xstrtod.h" diff --git a/src/setuidgid.c b/src/setuidgid.c index 6bf84d117..9a4354153 100644 --- a/src/setuidgid.c +++ b/src/setuidgid.c @@ -25,7 +25,6 @@ #include "system.h" -#include "closeout.h" #include "error.h" #include "long-options.h" #include "quote.h" diff --git a/src/shred.c b/src/shred.c index 5060c9a46..9453cb30c 100644 --- a/src/shred.c +++ b/src/shred.c @@ -104,7 +104,6 @@ #include "system.h" #include "xstrtol.h" -#include "closeout.h" #include "error.h" #include "human.h" #include "inttostr.h" diff --git a/src/sleep.c b/src/sleep.c index 6050f0fde..5a4bd3d57 100644 --- a/src/sleep.c +++ b/src/sleep.c @@ -22,7 +22,6 @@ #include #include "system.h" -#include "closeout.h" #include "error.h" #include "long-options.h" #include "xnanosleep.h" diff --git a/src/sort.c b/src/sort.c index 631675924..76f3c73f4 100644 --- a/src/sort.c +++ b/src/sort.c @@ -29,7 +29,6 @@ #include #include #include "system.h" -#include "closeout.h" #include "error.h" #include "exitfail.h" #include "hard-locale.h" diff --git a/src/split.c b/src/split.c index c70e53a0e..499f7c46b 100644 --- a/src/split.c +++ b/src/split.c @@ -28,7 +28,6 @@ #include #include "system.h" -#include "closeout.h" #include "dirname.h" #include "error.h" #include "full-read.h" diff --git a/src/stat.c b/src/stat.c index f44ae8925..ace2b6936 100644 --- a/src/stat.c +++ b/src/stat.c @@ -44,7 +44,6 @@ #include "system.h" -#include "closeout.h" #include "error.h" #include "filemode.h" #include "file-type.h" diff --git a/src/stty.c b/src/stty.c index 70fe34f89..71e0eb3fa 100644 --- a/src/stty.c +++ b/src/stty.c @@ -59,7 +59,6 @@ #include "long-options.h" #include "error.h" #include "xstrtol.h" -#include "closeout.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "stty" diff --git a/src/su.c b/src/su.c index 232103921..3bcc87abd 100644 --- a/src/su.c +++ b/src/su.c @@ -82,7 +82,6 @@ #define getusershell _getusershell_sys_proto_ #include "system.h" -#include "closeout.h" #include "dirname.h" #undef getusershell diff --git a/src/sum.c b/src/sum.c index 06bfdb3d1..9abd4f3f0 100644 --- a/src/sum.c +++ b/src/sum.c @@ -25,7 +25,6 @@ #include #include #include "system.h" -#include "closeout.h" #include "error.h" #include "human.h" #include "safe-read.h" diff --git a/src/tac.c b/src/tac.c index 7a366ec6f..4567e8705 100644 --- a/src/tac.c +++ b/src/tac.c @@ -41,7 +41,6 @@ tac -r -s '.\| #include #include #include "system.h" -#include "closeout.h" #include diff --git a/src/tail.c b/src/tail.c index 9d8468b64..934e805e4 100644 --- a/src/tail.c +++ b/src/tail.c @@ -32,7 +32,6 @@ #include #include "system.h" -#include "closeout.h" #include "argmatch.h" #include "error.h" #include "inttostr.h" diff --git a/src/tee.c b/src/tee.c index 2caf59991..4ec399b85 100644 --- a/src/tee.c +++ b/src/tee.c @@ -24,7 +24,6 @@ #include #include "system.h" -#include "closeout.h" #include "error.h" /* The official name of this program (e.g., no `g' prefix). */ diff --git a/src/test.c b/src/test.c index 6c9eaf0ff..95cff6ebf 100644 --- a/src/test.c +++ b/src/test.c @@ -963,7 +963,6 @@ posixtest (void) #if defined (TEST_STANDALONE) # include "long-options.h" -# include "closeout.h" void usage (int status) diff --git a/src/tr.c b/src/tr.c index 27f6a4a4c..5722b4bbd 100644 --- a/src/tr.c +++ b/src/tr.c @@ -25,7 +25,6 @@ #include #include "system.h" -#include "closeout.h" #include "error.h" #include "safe-read.h" #include "xstrtol.h" diff --git a/src/true.c b/src/true.c index 5c5ab22c1..d7468ac3b 100644 --- a/src/true.c +++ b/src/true.c @@ -20,7 +20,6 @@ #include #include "system.h" #include "version-etc.h" -#include "closeout.h" #define PROGRAM_NAME "true" #define AUTHORS "Jim Meyering" diff --git a/src/tsort.c b/src/tsort.c index 57421a522..a66d37ba4 100644 --- a/src/tsort.c +++ b/src/tsort.c @@ -29,7 +29,6 @@ #include #include "system.h" -#include "closeout.h" #include "long-options.h" #include "error.h" #include "readtokens.h" diff --git a/src/tty.c b/src/tty.c index 555fe19cf..076ac15d7 100644 --- a/src/tty.c +++ b/src/tty.c @@ -28,7 +28,6 @@ #include #include "system.h" -#include "closeout.h" #include "exitfail.h" #include "error.h" diff --git a/src/uname.c b/src/uname.c index 0d81a1434..47f9ff45c 100644 --- a/src/uname.c +++ b/src/uname.c @@ -46,7 +46,6 @@ #include "system.h" #include "error.h" -#include "closeout.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "uname" diff --git a/src/unexpand.c b/src/unexpand.c index 423f43b2b..89cac644f 100644 --- a/src/unexpand.c +++ b/src/unexpand.c @@ -41,7 +41,6 @@ #include #include #include "system.h" -#include "closeout.h" #include "error.h" #include "posixver.h" diff --git a/src/uniq.c b/src/uniq.c index 86721c43a..9555d6c86 100644 --- a/src/uniq.c +++ b/src/uniq.c @@ -24,7 +24,6 @@ #include #include "system.h" -#include "closeout.h" #include "argmatch.h" #include "linebuffer.h" #include "error.h" diff --git a/src/uptime.c b/src/uptime.c index 934b1b8a4..c987a2a32 100644 --- a/src/uptime.c +++ b/src/uptime.c @@ -31,7 +31,6 @@ #include "error.h" #include "long-options.h" #include "readutmp.h" -#include "closeout.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "uptime" diff --git a/src/users.c b/src/users.c index bee2ff36d..6ef4396c0 100644 --- a/src/users.c +++ b/src/users.c @@ -27,7 +27,6 @@ #include "error.h" #include "long-options.h" #include "readutmp.h" -#include "closeout.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "users" diff --git a/src/wc.c b/src/wc.c index 1ddd71105..8593c1184 100644 --- a/src/wc.c +++ b/src/wc.c @@ -46,7 +46,6 @@ redefining and using it. */ #include "system.h" -#include "closeout.h" #include "error.h" #include "inttostr.h" #include "safe-read.h" diff --git a/src/who.c b/src/who.c index 2094d41bb..a3bb7d2ef 100644 --- a/src/who.c +++ b/src/who.c @@ -33,7 +33,6 @@ #include "readutmp.h" #include "error.h" -#include "closeout.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "who" diff --git a/src/whoami.c b/src/whoami.c index 7a5121a89..019379e87 100644 --- a/src/whoami.c +++ b/src/whoami.c @@ -26,7 +26,6 @@ #include "system.h" #include "long-options.h" -#include "closeout.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "whoami" diff --git a/src/yes.c b/src/yes.c index 34fceb729..f2e37ce8e 100644 --- a/src/yes.c +++ b/src/yes.c @@ -24,7 +24,6 @@ #include "system.h" -#include "closeout.h" #include "error.h" #include "long-options.h" -- cgit v1.2.3-54-g00ecf