diff options
author | Jim Meyering <meyering@redhat.com> | 2008-03-19 15:52:26 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-03-19 16:48:32 +0100 |
commit | 092239c608efa6e266599a5d0117bda9cfb60221 (patch) | |
tree | d5cadcc080db95b8a846f70aa07de9a5ce3daf4b /src/printenv.c | |
parent | 116f832b45bd2c751e8ddf30ad33fb79eab81153 (diff) | |
download | coreutils-092239c608efa6e266599a5d0117bda9cfb60221.tar.xz |
Check for -- and remove -- some unnecessarily included header files.
* Makefile.maint: Add checks for a handful of additional header files.
* src/mktemp.c: Don't include "long-options.h". Not used.
* src/pr.c: Don't include "inttostr.h". Not used.
* src/printenv.c: Don't include "error.h". Not used.
* src/test.c: Don't include "error.h". Not used.
* src/touch.c: Don't include "safe-read.h". Not used.
Diffstat (limited to 'src/printenv.c')
-rw-r--r-- | src/printenv.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/printenv.c b/src/printenv.c index 69384ce2a..fff1644ae 100644 --- a/src/printenv.c +++ b/src/printenv.c @@ -1,5 +1,5 @@ /* printenv -- print all or part of environment - Copyright (C) 1989-1997, 1999-2005, 2007 Free Software Foundation, Inc. + Copyright (C) 1989-1997, 1999-2005, 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -33,7 +33,6 @@ #include <getopt.h> #include "system.h" -#include "error.h" #include "long-options.h" /* Exit status for syntax errors, etc. */ |