From 667799f7e2869b58663ab1b6a22408eff9c0d8a2 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 31 Mar 1999 05:59:13 +0000 Subject: Don't include closeout.h or version-etc.h explicitly. Now, they're included via sys2.h. --- src/chgrp.c | 2 -- src/chmod.c | 2 -- src/chown.c | 2 -- src/cp.c | 2 -- src/dd.c | 1 - src/df.c | 2 -- src/dircolors.c | 2 -- src/du.c | 2 -- src/install.c | 2 -- src/ln.c | 2 -- src/ls.c | 2 -- src/mkdir.c | 2 -- src/mkfifo.c | 2 -- src/mknod.c | 2 -- src/mv.c | 2 -- src/remove.c | 1 - src/rm.c | 2 -- src/rmdir.c | 2 -- src/shred.c | 2 -- src/sync.c | 1 - src/touch.c | 2 -- 21 files changed, 39 deletions(-) (limited to 'src') diff --git a/src/chgrp.c b/src/chgrp.c index a75bc90f0..14e14cab2 100644 --- a/src/chgrp.c +++ b/src/chgrp.c @@ -24,11 +24,9 @@ #include #include "system.h" -#include "closeout.h" #include "error.h" #include "group-member.h" #include "savedir.h" -#include "version-etc.h" #include "xstrtoul.h" /* The official name of this program (e.g., no `g' prefix). */ diff --git a/src/chmod.c b/src/chmod.c index e22096307..06f2020d3 100644 --- a/src/chmod.c +++ b/src/chmod.c @@ -23,12 +23,10 @@ #include #include "system.h" -#include "closeout.h" #include "error.h" #include "filemode.h" #include "modechange.h" #include "savedir.h" -#include "version-etc.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "chmod" diff --git a/src/chown.c b/src/chown.c index e462931f4..9ca3c7680 100644 --- a/src/chown.c +++ b/src/chown.c @@ -36,11 +36,9 @@ #include #include "system.h" -#include "closeout.h" #include "error.h" #include "lchown.h" #include "savedir.h" -#include "version-etc.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "chown" diff --git a/src/cp.c b/src/cp.c index 153ef22bd..88bd20add 100644 --- a/src/cp.c +++ b/src/cp.c @@ -30,13 +30,11 @@ #include "system.h" #include "argmatch.h" #include "backupfile.h" -#include "closeout.h" #include "copy.h" #include "cp-hash.h" #include "error.h" #include "dirname.h" #include "path-concat.h" -#include "version-etc.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "cp" diff --git a/src/dd.c b/src/dd.c index aee46aafc..5d449f6fa 100644 --- a/src/dd.c +++ b/src/dd.c @@ -30,7 +30,6 @@ #include #include "system.h" -#include "closeout.h" #include "error.h" #include "human.h" #include "long-options.h" diff --git a/src/df.c b/src/df.c index 0d3a89c02..41b2b647a 100644 --- a/src/df.c +++ b/src/df.c @@ -29,14 +29,12 @@ #include #include "system.h" -#include "closeout.h" #include "dirname.h" #include "error.h" #include "fsusage.h" #include "human.h" #include "mountlist.h" #include "save-cwd.h" -#include "version-etc.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "df" diff --git a/src/dircolors.c b/src/dircolors.c index bc9012465..88c2ec313 100644 --- a/src/dircolors.c +++ b/src/dircolors.c @@ -26,12 +26,10 @@ #include #include "system.h" -#include "closeout.h" #include "dircolors.h" #include "error.h" #include "getline.h" #include "obstack.h" -#include "version-etc.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "dircolors" diff --git a/src/du.c b/src/du.c index 526f9b08d..8f5ea1422 100644 --- a/src/du.c +++ b/src/du.c @@ -52,13 +52,11 @@ #include #include "system.h" -#include "closeout.h" #include "error.h" #include "exclude.h" #include "human.h" #include "save-cwd.h" #include "savedir.h" -#include "version-etc.h" #include "xstrtol.h" /* The official name of this program (e.g., no `g' prefix). */ diff --git a/src/install.c b/src/install.c index e8872e43e..5dcdf031a 100644 --- a/src/install.c +++ b/src/install.c @@ -73,7 +73,6 @@ #include "system.h" #include "backupfile.h" -#include "closeout.h" #include "error.h" #include "cp-hash.h" #include "copy.h" @@ -81,7 +80,6 @@ #include "makepath.h" #include "modechange.h" #include "path-concat.h" -#include "version-etc.h" #include "xstrtol.h" /* The official name of this program (e.g., no `g' prefix). */ diff --git a/src/ln.c b/src/ln.c index 57f4b3152..e23cd26ad 100644 --- a/src/ln.c +++ b/src/ln.c @@ -28,10 +28,8 @@ #include "system.h" #include "backupfile.h" -#include "closeout.h" #include "dirname.h" #include "error.h" -#include "version-etc.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "ln" diff --git a/src/ls.c b/src/ls.c index b56050e45..cc37308e9 100644 --- a/src/ls.c +++ b/src/ls.c @@ -69,7 +69,6 @@ #include #include "argmatch.h" -#include "closeout.h" #include "error.h" #include "human.h" #include "filemode.h" @@ -78,7 +77,6 @@ #include "path-concat.h" #include "quotearg.h" #include "strverscmp.h" -#include "version-etc.h" #include "xstrtol.h" #define PROGRAM_NAME (ls_mode == LS_LS ? "ls" \ diff --git a/src/mkdir.c b/src/mkdir.c index ba2e1eb00..ecbe0f280 100644 --- a/src/mkdir.c +++ b/src/mkdir.c @@ -23,11 +23,9 @@ #include #include "system.h" -#include "closeout.h" #include "error.h" #include "makepath.h" #include "modechange.h" -#include "version-etc.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "mkdir" diff --git a/src/mkfifo.c b/src/mkfifo.c index f933e7750..c34626947 100644 --- a/src/mkfifo.c +++ b/src/mkfifo.c @@ -28,10 +28,8 @@ #include #include "system.h" -#include "closeout.h" #include "error.h" #include "modechange.h" -#include "version-etc.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "mkfifo" diff --git a/src/mknod.c b/src/mknod.c index ac5be3d0e..9b01e09fb 100644 --- a/src/mknod.c +++ b/src/mknod.c @@ -33,11 +33,9 @@ #include #include "system.h" -#include "closeout.h" #include "error.h" #include "modechange.h" #include "xstrtol.h" -#include "version-etc.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "mknod" diff --git a/src/mv.c b/src/mv.c index fe9c86521..af80fbe92 100644 --- a/src/mv.c +++ b/src/mv.c @@ -49,13 +49,11 @@ #include "system.h" #include "backupfile.h" -#include "closeout.h" #include "copy.h" #include "cp-hash.h" #include "error.h" #include "path-concat.h" #include "remove.h" -#include "version-etc.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "mv" diff --git a/src/remove.c b/src/remove.c index fa255864e..4c99d82b5 100644 --- a/src/remove.c +++ b/src/remove.c @@ -34,7 +34,6 @@ typedef enum {false = 0, true = 1} bool; #include "save-cwd.h" #include "system.h" -#include "closeout.h" #include "error.h" #include "obstack.h" #include "hash.h" diff --git a/src/rm.c b/src/rm.c index 2a584a6f2..d791aafe7 100644 --- a/src/rm.c +++ b/src/rm.c @@ -50,11 +50,9 @@ #include #include "system.h" -#include "closeout.h" #include "error.h" #include "remove.h" #include "save-cwd.h" -#include "version-etc.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "rm" diff --git a/src/rmdir.c b/src/rmdir.c index 54605ee43..01727b8b4 100644 --- a/src/rmdir.c +++ b/src/rmdir.c @@ -28,9 +28,7 @@ #include #include "system.h" -#include "closeout.h" #include "error.h" -#include "version-etc.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "rmdir" diff --git a/src/shred.c b/src/shred.c index 748925509..05ff72155 100644 --- a/src/shred.c +++ b/src/shred.c @@ -63,10 +63,8 @@ #include /* Used by pferror */ #include "system.h" -#include "closeout.h" #include "error.h" #include "xstrtoul.h" -#include "version-etc.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "shred" diff --git a/src/sync.c b/src/sync.c index fc1e67ac8..b2c24824a 100644 --- a/src/sync.c +++ b/src/sync.c @@ -22,7 +22,6 @@ #include #include "system.h" -#include "closeout.h" #include "error.h" #include "long-options.h" diff --git a/src/touch.c b/src/touch.c index eda5f3e8e..9140493d9 100644 --- a/src/touch.c +++ b/src/touch.c @@ -25,12 +25,10 @@ #include "system.h" #include "argmatch.h" -#include "closeout.h" #include "error.h" #include "getdate.h" #include "posixtm.h" #include "safe-read.h" -#include "version-etc.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "touch" -- cgit v1.2.3-54-g00ecf