Don't include headers already included by system.h:
authorJim Meyering <jim@meyering.net>
Wed, 23 Jul 2003 07:29:54 +0000 (07:29 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 23 Jul 2003 07:29:54 +0000 (07:29 +0000)
Don't include closeout.h.

64 files changed:
src/basename.c
src/cat.c
src/chroot.c
src/cksum.c
src/comm.c
src/csplit.c
src/cut.c
src/date.c
src/dd.c
src/dirname.c
src/echo.c
src/env.c
src/expand.c
src/expr.c
src/factor.c
src/fmt.c
src/fold.c
src/head.c
src/hostid.c
src/hostname.c
src/id.c
src/join.c
src/kill.c
src/logname.c
src/md5sum.c
src/nice.c
src/nl.c
src/nohup.c
src/od.c
src/paste.c
src/pathchk.c
src/pinky.c
src/pr.c
src/printenv.c
src/printf.c
src/ptx.c
src/pwd.c
src/seq.c
src/setuidgid.c
src/shred.c
src/sleep.c
src/sort.c
src/split.c
src/stat.c
src/stty.c
src/su.c
src/sum.c
src/tac.c
src/tail.c
src/tee.c
src/test.c
src/tr.c
src/true.c
src/tsort.c
src/tty.c
src/uname.c
src/unexpand.c
src/uniq.c
src/uptime.c
src/users.c
src/wc.c
src/who.c
src/whoami.c
src/yes.c

index f76defb..805ee25 100644 (file)
@@ -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"
index a13b9f9..cf0a900 100644 (file)
--- a/src/cat.c
+++ b/src/cat.c
@@ -31,7 +31,6 @@
 # include <sys/ioctl.h>
 #endif
 #include "system.h"
-#include "closeout.h"
 #include "error.h"
 #include "full-write.h"
 #include "safe-read.h"
index 8be5fe6..78836c8 100644 (file)
@@ -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"
index 7291ad4..4d0fec1 100644 (file)
@@ -117,7 +117,6 @@ main (void)
 #else /* !CRCTAB */
 
 # include <getopt.h>
-# include "closeout.h"
 # include "long-options.h"
 # include "error.h"
 # include "inttostr.h"
index 26716df..efa5ee4 100644 (file)
@@ -23,7 +23,6 @@
 #include <getopt.h>
 #include <sys/types.h>
 #include "system.h"
-#include "closeout.h"
 #include "linebuffer.h"
 #include "error.h"
 #include "hard-locale.h"
index e17b4a7..e6bdb55 100644 (file)
@@ -26,7 +26,6 @@
 #include <signal.h>
 
 #include "system.h"
-#include "closeout.h"
 
 #include <regex.h>
 
index bd2a3e0..f14eea8 100644 (file)
--- a/src/cut.c
+++ b/src/cut.c
@@ -30,7 +30,6 @@
 #include <sys/types.h>
 #include "system.h"
 
-#include "closeout.h"
 #include "error.h"
 #include "getdelim2.h"
 #include "hash.h"
index 8f52f37..d77d8ca 100644 (file)
@@ -27,7 +27,6 @@
 
 #include "system.h"
 #include "argmatch.h"
-#include "closeout.h"
 #include "error.h"
 #include "exitfail.h"
 #include "getdate.h"
index ee4ea68..9977592 100644 (file)
--- a/src/dd.c
+++ b/src/dd.c
@@ -27,7 +27,6 @@
 #include <getopt.h>
 
 #include "system.h"
-#include "closeout.h"
 #include "error.h"
 #include "full-write.h"
 #include "getpagesize.h"
index 5670ec6..ec4e353 100644 (file)
@@ -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"
index 9ce8547..e1629a6 100644 (file)
@@ -19,7 +19,6 @@
 #include <stdio.h>
 #include <sys/types.h>
 #include "system.h"
-#include "closeout.h"
 #include "long-options.h"
 
 /* The official name of this program (e.g., no `g' prefix).  */
index 27414a2..440ec8f 100644 (file)
--- 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"
index 1cc7f75..fcd3542 100644 (file)
@@ -39,7 +39,6 @@
 #include <getopt.h>
 #include <sys/types.h>
 #include "system.h"
-#include "closeout.h"
 #include "error.h"
 #include "posixver.h"
 #include "quote.h"
index c7f81db..b613275 100644 (file)
@@ -36,7 +36,6 @@
 #include <regex.h>
 #include "long-options.h"
 #include "error.h"
-#include "closeout.h"
 #include "exitfail.h"
 #include "inttostr.h"
 #include "quotearg.h"
index 6c01d39..c364781 100644 (file)
@@ -26,7 +26,6 @@
 #define NDEBUG 1
 
 #include "system.h"
-#include "closeout.h"
 #include "error.h"
 #include "inttostr.h"
 #include "long-options.h"
index a263b1a..aa188d6 100644 (file)
--- 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"
index 5787810..8caed2f 100644 (file)
@@ -24,7 +24,6 @@
 #include <sys/types.h>
 
 #include "system.h"
-#include "closeout.h"
 #include "error.h"
 #include "posixver.h"
 #include "xstrtol.h"
index 4028d85..3d8103f 100644 (file)
@@ -32,7 +32,6 @@
 
 #include "system.h"
 
-#include "closeout.h"
 #include "error.h"
 #include "full-write.h"
 #include "full-read.h"
index a0ea77b..3119aad 100644 (file)
@@ -22,7 +22,6 @@
 #include <sys/types.h>
 
 #include "system.h"
-#include "closeout.h"
 #include "long-options.h"
 #include "error.h"
 
index 5403101..8f97a7a 100644 (file)
@@ -22,7 +22,6 @@
 #include <sys/types.h>
 
 #include "system.h"
-#include "closeout.h"
 #include "long-options.h"
 #include "error.h"
 
index d0c3aa2..2880928 100644 (file)
--- 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"
index f6d9b06..554df88 100644 (file)
@@ -25,7 +25,6 @@
 #include <getopt.h>
 
 #include "system.h"
-#include "closeout.h"
 #include "error.h"
 #include "hard-locale.h"
 #include "linebuffer.h"
index 2808305..7f3ecb1 100644 (file)
@@ -34,7 +34,6 @@
 #endif
 
 #include "system.h"
-#include "closeout.h"
 #include "error.h"
 #include "sig2str.h"
 
index 52c3baa..4ff8639 100644 (file)
@@ -21,7 +21,6 @@
 #include <getopt.h>
 
 #include "system.h"
-#include "closeout.h"
 #include "error.h"
 #include "long-options.h"
 
index 43c1ef7..2473020 100644 (file)
@@ -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).  */
index b05b6cc..6270b8b 100644 (file)
@@ -29,7 +29,6 @@
 #endif
 
 #include "system.h"
-#include "closeout.h"
 #include "error.h"
 #include "long-options.h"
 #include "posixver.h"
index 4f372d0..befbc0e 100644 (file)
--- a/src/nl.c
+++ b/src/nl.c
@@ -25,7 +25,6 @@
 #include <getopt.h>
 
 #include "system.h"
-#include "closeout.h"
 
 #include <regex.h>
 
index eee2ca0..9a7221f 100644 (file)
@@ -24,7 +24,6 @@
 
 #include "system.h"
 
-#include "closeout.h"
 #include "error.h"
 #include "long-options.h"
 #include "path-concat.h"
index 08620a9..710786e 100644 (file)
--- a/src/od.c
+++ b/src/od.c
@@ -24,7 +24,6 @@
 #include <getopt.h>
 #include <sys/types.h>
 #include "system.h"
-#include "closeout.h"
 #include "error.h"
 #include "posixver.h"
 #include "xstrtol.h"
index 3ce91f0..dfc46ca 100644 (file)
@@ -41,7 +41,6 @@
 #include <getopt.h>
 #include <sys/types.h>
 #include "system.h"
-#include "closeout.h"
 #include "error.h"
 
 /* The official name of this program (e.g., no `g' prefix).  */
index 728a0af..4a8064b 100644 (file)
@@ -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"
index ce5e03b..827112a 100644 (file)
@@ -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"
index fba74ce..e6883bb 100644 (file)
--- a/src/pr.c
+++ b/src/pr.c
 #include <getopt.h>
 #include <sys/types.h>
 #include "system.h"
-#include "closeout.h"
 #include "error.h"
 #include "mbswidth.h"
 #include "posixver.h"
index f1aa79f..0ad821b 100644 (file)
@@ -33,7 +33,6 @@
 #include <getopt.h>
 
 #include "system.h"
-#include "closeout.h"
 #include "error.h"
 #include "exitfail.h"
 #include "long-options.h"
index 361334a..97b7d97 100644 (file)
@@ -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).  */
index 92252cd..614ec50 100644 (file)
--- a/src/ptx.c
+++ b/src/ptx.c
@@ -24,7 +24,6 @@
 #include <getopt.h>
 #include <sys/types.h>
 #include "system.h"
-#include "closeout.h"
 #include "argmatch.h"
 #include "bumpalloc.h"
 #include "diacrit.h"
index 7d828f7..c4be503 100644 (file)
--- a/src/pwd.c
+++ b/src/pwd.c
@@ -22,7 +22,6 @@
 #include <sys/types.h>
 
 #include "system.h"
-#include "closeout.h"
 #include "long-options.h"
 #include "error.h"
 #include "xgetcwd.h"
index cae6276..b073c3c 100644 (file)
--- a/src/seq.c
+++ b/src/seq.c
@@ -24,7 +24,6 @@
 #include <sys/types.h>
 
 #include "system.h"
-#include "closeout.h"
 #include "error.h"
 #include "xstrtol.h"
 #include "xstrtod.h"
index 6bf84d1..9a43541 100644 (file)
@@ -25,7 +25,6 @@
 
 #include "system.h"
 
-#include "closeout.h"
 #include "error.h"
 #include "long-options.h"
 #include "quote.h"
index 5060c9a..9453cb3 100644 (file)
 
 #include "system.h"
 #include "xstrtol.h"
-#include "closeout.h"
 #include "error.h"
 #include "human.h"
 #include "inttostr.h"
index 6050f0f..5a4bd3d 100644 (file)
@@ -22,7 +22,6 @@
 #include <getopt.h>
 
 #include "system.h"
-#include "closeout.h"
 #include "error.h"
 #include "long-options.h"
 #include "xnanosleep.h"
index 6316759..76f3c73 100644 (file)
@@ -29,7 +29,6 @@
 #include <stdio.h>
 #include <assert.h>
 #include "system.h"
-#include "closeout.h"
 #include "error.h"
 #include "exitfail.h"
 #include "hard-locale.h"
index c70e53a..499f7c4 100644 (file)
@@ -28,7 +28,6 @@
 #include <sys/types.h>
 
 #include "system.h"
-#include "closeout.h"
 #include "dirname.h"
 #include "error.h"
 #include "full-read.h"
index f44ae89..ace2b69 100644 (file)
@@ -44,7 +44,6 @@
 
 #include "system.h"
 
-#include "closeout.h"
 #include "error.h"
 #include "filemode.h"
 #include "file-type.h"
index 70fe34f..71e0eb3 100644 (file)
@@ -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"
index 2321039..3bcc87a 100644 (file)
--- 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
index 06bfdb3..9abd4f3 100644 (file)
--- a/src/sum.c
+++ b/src/sum.c
@@ -25,7 +25,6 @@
 #include <sys/types.h>
 #include <getopt.h>
 #include "system.h"
-#include "closeout.h"
 #include "error.h"
 #include "human.h"
 #include "safe-read.h"
index 7a366ec..4567e87 100644 (file)
--- a/src/tac.c
+++ b/src/tac.c
@@ -41,7 +41,6 @@ tac -r -s '.\|
 #include <getopt.h>
 #include <sys/types.h>
 #include "system.h"
-#include "closeout.h"
 
 #include <regex.h>
 
index 9d8468b..934e805 100644 (file)
@@ -32,7 +32,6 @@
 #include <signal.h>
 
 #include "system.h"
-#include "closeout.h"
 #include "argmatch.h"
 #include "error.h"
 #include "inttostr.h"
index 2caf599..4ec399b 100644 (file)
--- a/src/tee.c
+++ b/src/tee.c
@@ -24,7 +24,6 @@
 #include <getopt.h>
 
 #include "system.h"
-#include "closeout.h"
 #include "error.h"
 
 /* The official name of this program (e.g., no `g' prefix).  */
index 6c9eaf0..95cff6e 100644 (file)
@@ -963,7 +963,6 @@ posixtest (void)
 
 #if defined (TEST_STANDALONE)
 # include "long-options.h"
-# include "closeout.h"
 
 void
 usage (int status)
index 27f6a4a..5722b4b 100644 (file)
--- a/src/tr.c
+++ b/src/tr.c
@@ -25,7 +25,6 @@
 #include <getopt.h>
 
 #include "system.h"
-#include "closeout.h"
 #include "error.h"
 #include "safe-read.h"
 #include "xstrtol.h"
index 5c5ab22..d7468ac 100644 (file)
@@ -20,7 +20,6 @@
 #include <sys/types.h>
 #include "system.h"
 #include "version-etc.h"
-#include "closeout.h"
 
 #define PROGRAM_NAME "true"
 #define AUTHORS "Jim Meyering"
index 57421a5..a66d37b 100644 (file)
@@ -29,7 +29,6 @@
 #include <sys/types.h>
 
 #include "system.h"
-#include "closeout.h"
 #include "long-options.h"
 #include "error.h"
 #include "readtokens.h"
index 555fe19..076ac15 100644 (file)
--- a/src/tty.c
+++ b/src/tty.c
@@ -28,7 +28,6 @@
 #include <sys/types.h>
 
 #include "system.h"
-#include "closeout.h"
 #include "exitfail.h"
 #include "error.h"
 
index 0d81a14..47f9ff4 100644 (file)
@@ -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"
index 423f43b..89cac64 100644 (file)
@@ -41,7 +41,6 @@
 #include <getopt.h>
 #include <sys/types.h>
 #include "system.h"
-#include "closeout.h"
 #include "error.h"
 #include "posixver.h"
 
index 86721c4..9555d6c 100644 (file)
@@ -24,7 +24,6 @@
 #include <sys/types.h>
 
 #include "system.h"
-#include "closeout.h"
 #include "argmatch.h"
 #include "linebuffer.h"
 #include "error.h"
index 934b1b8..c987a2a 100644 (file)
@@ -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"
index bee2ff3..6ef4396 100644 (file)
@@ -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"
index 1ddd711..8593c11 100644 (file)
--- 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"
index 2094d41..a3bb7d2 100644 (file)
--- 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"
index 7a5121a..019379e 100644 (file)
@@ -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"
index 34fceb7..f2e37ce 100644 (file)
--- 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"