mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
Don't include headers already included by system.h:
Don't include closeout.h.
This commit is contained in:
1 parent
2841d4bb91
commit
4f4e9aa8e1
64 files changed
-64
No files matched your search
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -117,7 +117,6 @@ main (void)
|
||||
#else /* !CRCTAB */
|
||||
|
||||
# include <getopt.h>
|
||||
# include "closeout.h"
|
||||
# include "long-options.h"
|
||||
# include "error.h"
|
||||
# include "inttostr.h"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include <signal.h>
|
||||
|
||||
#include "system.h"
|
||||
#include "closeout.h"
|
||||
|
||||
#include <regex.h>
|
||||
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
#include <sys/types.h>
|
||||
#include "system.h"
|
||||
|
||||
#include "closeout.h"
|
||||
#include "error.h"
|
||||
#include "getdelim2.h"
|
||||
#include "hash.h"
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
|
||||
#include "system.h"
|
||||
#include "argmatch.h"
|
||||
#include "closeout.h"
|
||||
#include "error.h"
|
||||
#include "exitfail.h"
|
||||
#include "getdate.h"
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
#include <getopt.h>
|
||||
|
||||
#include "system.h"
|
||||
#include "closeout.h"
|
||||
#include "error.h"
|
||||
#include "full-write.h"
|
||||
#include "getpagesize.h"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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). */
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#define NDEBUG 1
|
||||
|
||||
#include "system.h"
|
||||
#include "closeout.h"
|
||||
#include "error.h"
|
||||
#include "inttostr.h"
|
||||
#include "long-options.h"
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
#define word unused_word_type
|
||||
|
||||
#include "system.h"
|
||||
#include "closeout.h"
|
||||
#include "error.h"
|
||||
#include "quote.h"
|
||||
#include "xstrtol.h"
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "system.h"
|
||||
#include "closeout.h"
|
||||
#include "error.h"
|
||||
#include "posixver.h"
|
||||
#include "xstrtol.h"
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
|
||||
#include "system.h"
|
||||
|
||||
#include "closeout.h"
|
||||
#include "error.h"
|
||||
#include "full-write.h"
|
||||
#include "full-read.h"
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "system.h"
|
||||
#include "closeout.h"
|
||||
#include "long-options.h"
|
||||
#include "error.h"
|
||||
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "system.h"
|
||||
#include "closeout.h"
|
||||
#include "long-options.h"
|
||||
#include "error.h"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#include <getopt.h>
|
||||
|
||||
#include "system.h"
|
||||
#include "closeout.h"
|
||||
#include "error.h"
|
||||
#include "hard-locale.h"
|
||||
#include "linebuffer.h"
|
||||
|
||||
@@ -34,7 +34,6 @@
|
||||
#endif
|
||||
|
||||
#include "system.h"
|
||||
#include "closeout.h"
|
||||
#include "error.h"
|
||||
#include "sig2str.h"
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#include <getopt.h>
|
||||
|
||||
#include "system.h"
|
||||
#include "closeout.h"
|
||||
#include "error.h"
|
||||
#include "long-options.h"
|
||||
|
||||
|
||||
@@ -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). */
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
#endif
|
||||
|
||||
#include "system.h"
|
||||
#include "closeout.h"
|
||||
#include "error.h"
|
||||
#include "long-options.h"
|
||||
#include "posixver.h"
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#include <getopt.h>
|
||||
|
||||
#include "system.h"
|
||||
#include "closeout.h"
|
||||
|
||||
#include <regex.h>
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
|
||||
#include "system.h"
|
||||
|
||||
#include "closeout.h"
|
||||
#include "error.h"
|
||||
#include "long-options.h"
|
||||
#include "path-concat.h"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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). */
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -315,7 +315,6 @@
|
||||
#include <getopt.h>
|
||||
#include <sys/types.h>
|
||||
#include "system.h"
|
||||
#include "closeout.h"
|
||||
#include "error.h"
|
||||
#include "mbswidth.h"
|
||||
#include "posixver.h"
|
||||
|
||||
@@ -33,7 +33,6 @@
|
||||
#include <getopt.h>
|
||||
|
||||
#include "system.h"
|
||||
#include "closeout.h"
|
||||
#include "error.h"
|
||||
#include "exitfail.h"
|
||||
#include "long-options.h"
|
||||
|
||||
@@ -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). */
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "system.h"
|
||||
#include "closeout.h"
|
||||
#include "long-options.h"
|
||||
#include "error.h"
|
||||
#include "xgetcwd.h"
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "system.h"
|
||||
#include "closeout.h"
|
||||
#include "error.h"
|
||||
#include "xstrtol.h"
|
||||
#include "xstrtod.h"
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
|
||||
#include "system.h"
|
||||
|
||||
#include "closeout.h"
|
||||
#include "error.h"
|
||||
#include "long-options.h"
|
||||
#include "quote.h"
|
||||
|
||||
@@ -104,7 +104,6 @@
|
||||
|
||||
#include "system.h"
|
||||
#include "xstrtol.h"
|
||||
#include "closeout.h"
|
||||
#include "error.h"
|
||||
#include "human.h"
|
||||
#include "inttostr.h"
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
#include <getopt.h>
|
||||
|
||||
#include "system.h"
|
||||
#include "closeout.h"
|
||||
#include "error.h"
|
||||
#include "long-options.h"
|
||||
#include "xnanosleep.h"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "system.h"
|
||||
#include "closeout.h"
|
||||
#include "dirname.h"
|
||||
#include "error.h"
|
||||
#include "full-read.h"
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
|
||||
#include "system.h"
|
||||
|
||||
#include "closeout.h"
|
||||
#include "error.h"
|
||||
#include "filemode.h"
|
||||
#include "file-type.h"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -82,7 +82,6 @@
|
||||
#define getusershell _getusershell_sys_proto_
|
||||
|
||||
#include "system.h"
|
||||
#include "closeout.h"
|
||||
#include "dirname.h"
|
||||
|
||||
#undef getusershell
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -41,7 +41,6 @@ tac -r -s '.\|
|
||||
#include <getopt.h>
|
||||
#include <sys/types.h>
|
||||
#include "system.h"
|
||||
#include "closeout.h"
|
||||
|
||||
#include <regex.h>
|
||||
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include <signal.h>
|
||||
|
||||
#include "system.h"
|
||||
#include "closeout.h"
|
||||
#include "argmatch.h"
|
||||
#include "error.h"
|
||||
#include "inttostr.h"
|
||||
|
||||
@@ -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). */
|
||||
|
||||
@@ -963,7 +963,6 @@ posixtest (void)
|
||||
|
||||
#if defined (TEST_STANDALONE)
|
||||
# include "long-options.h"
|
||||
# include "closeout.h"
|
||||
|
||||
void
|
||||
usage (int status)
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#include <getopt.h>
|
||||
|
||||
#include "system.h"
|
||||
#include "closeout.h"
|
||||
#include "error.h"
|
||||
#include "safe-read.h"
|
||||
#include "xstrtol.h"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "system.h"
|
||||
#include "closeout.h"
|
||||
#include "long-options.h"
|
||||
#include "error.h"
|
||||
#include "readtokens.h"
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "system.h"
|
||||
#include "closeout.h"
|
||||
#include "exitfail.h"
|
||||
#include "error.h"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -41,7 +41,6 @@
|
||||
#include <getopt.h>
|
||||
#include <sys/types.h>
|
||||
#include "system.h"
|
||||
#include "closeout.h"
|
||||
#include "error.h"
|
||||
#include "posixver.h"
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "system.h"
|
||||
#include "closeout.h"
|
||||
#include "argmatch.h"
|
||||
#include "linebuffer.h"
|
||||
#include "error.h"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -46,7 +46,6 @@
|
||||
redefining and using it. */
|
||||
#include "system.h"
|
||||
|
||||
#include "closeout.h"
|
||||
#include "error.h"
|
||||
#include "inttostr.h"
|
||||
#include "safe-read.h"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user