diff options
author | Jim Meyering <meyering@redhat.com> | 2008-10-19 13:35:16 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-10-19 14:15:31 +0200 |
commit | 31a884dab7510d84a689ef8092132c93e3dcc4ad (patch) | |
tree | 6ad8077bd8e9833b6f44e8eaa86d1d9456b9857b /src | |
parent | 74443830ea0a683e5373a8c8beee1a657170c89c (diff) | |
download | coreutils-31a884dab7510d84a689ef8092132c93e3dcc4ad.tar.xz |
accommodate gnulib header removals
* src/copy.c: Don't include "euidaccess.h" or "lchmod.h".
* src/cp.c: Don't include "lchmod.h".
* src/ls.c: Don't include "dirfd.h".
* src/mkdir.c: Don't include "lchmod.h".
* src/pwd.c: Don't include "dirfd.h".
* src/remove.c: Don't include "dirfd.h" or "euidaccess.h".
* src/test.c: Don't include "euidaccess.h".
* gl/modules/getloadavg.diff: Adjust diff for changed context.
* src/uptime.c (uptime): Remove declaration.
Diffstat (limited to 'src')
-rw-r--r-- | src/copy.c | 2 | ||||
-rw-r--r-- | src/cp.c | 1 | ||||
-rw-r--r-- | src/ls.c | 1 | ||||
-rw-r--r-- | src/mkdir.c | 1 | ||||
-rw-r--r-- | src/pwd.c | 1 | ||||
-rw-r--r-- | src/remove.c | 2 | ||||
-rw-r--r-- | src/test.c | 1 | ||||
-rw-r--r-- | src/uptime.c | 2 |
8 files changed, 0 insertions, 11 deletions
diff --git a/src/copy.c b/src/copy.c index 5a584752d..bc1b20ee2 100644 --- a/src/copy.c +++ b/src/copy.c @@ -35,7 +35,6 @@ #include "buffer-lcm.h" #include "copy.h" #include "cp-hash.h" -#include "euidaccess.h" #include "error.h" #include "fcntl--.h" #include "file-set.h" @@ -45,7 +44,6 @@ #include "hash.h" #include "hash-triple.h" #include "ignore-value.h" -#include "lchmod.h" #include "quote.h" #include "same.h" #include "savedir.h" @@ -30,7 +30,6 @@ #include "error.h" #include "filenamecat.h" #include "ignore-value.h" -#include "lchmod.h" #include "quote.h" #include "stat-time.h" #include "utimens.h" @@ -87,7 +87,6 @@ #include "acl.h" #include "argmatch.h" #include "dev-ino.h" -#include "dirfd.h" #include "error.h" #include "filenamecat.h" #include "hard-locale.h" diff --git a/src/mkdir.c b/src/mkdir.c index e408f2975..ca543aa6f 100644 --- a/src/mkdir.c +++ b/src/mkdir.c @@ -24,7 +24,6 @@ #include "system.h" #include "error.h" -#include "lchmod.h" #include "mkdir-p.h" #include "modechange.h" #include "prog-fprintf.h" @@ -20,7 +20,6 @@ #include <sys/types.h> #include "system.h" -#include "dirfd.h" #include "error.h" #include "long-options.h" #include "quote.h" diff --git a/src/remove.c b/src/remove.c index e92f78caf..28684b29c 100644 --- a/src/remove.c +++ b/src/remove.c @@ -24,9 +24,7 @@ #include "system.h" #include "cycle-check.h" -#include "dirfd.h" #include "error.h" -#include "euidaccess.h" #include "euidaccess-stat.h" #include "file-type.h" #include "hash.h" diff --git a/src/test.c b/src/test.c index 1fe7da00c..14d20fd27 100644 --- a/src/test.c +++ b/src/test.c @@ -38,7 +38,6 @@ #endif #include "system.h" -#include "euidaccess.h" #include "quote.h" #include "stat-time.h" #include "strnumcmp.h" diff --git a/src/uptime.c b/src/uptime.c index 8687a575f..95fea4b91 100644 --- a/src/uptime.c +++ b/src/uptime.c @@ -46,8 +46,6 @@ proper_name ("David MacKenzie"), \ proper_name ("Kaveh Ghazi") -int getloadavg (); - static void print_uptime (size_t n, const STRUCT_UTMP *this) { |