diff options
author | Jim Meyering <meyering@redhat.com> | 2008-01-30 19:29:01 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-01-30 19:29:11 +0100 |
commit | 839f321fde2e66c6b3568e3cc73a03c3259bd048 (patch) | |
tree | f45db1978f94f99e01a847bcaf8cf31a807ec02b /src | |
parent | afeeea66f34b24260ef8193bf8934dfd6ad47508 (diff) | |
download | coreutils-839f321fde2e66c6b3568e3cc73a03c3259bd048.tar.xz |
Now that system.h defines is_empty_dir, include "openat.h".
* src/system.h: Include "openat.h" here, ...
* src/chcon.c: ... not here.
* src/chmod.c: Likewise.
* src/chown-core.c: Likewise.
* src/remove.c: Likewise.
Signed-off-by: Jim Meyering <meyering@redhat.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/chcon.c | 1 | ||||
-rw-r--r-- | src/chmod.c | 3 | ||||
-rw-r--r-- | src/chown-core.c | 1 | ||||
-rw-r--r-- | src/remove.c | 1 | ||||
-rw-r--r-- | src/system.h | 1 |
5 files changed, 2 insertions, 5 deletions
diff --git a/src/chcon.c b/src/chcon.c index ecd5236a6..4f091a304 100644 --- a/src/chcon.c +++ b/src/chcon.c @@ -22,7 +22,6 @@ #include "system.h" #include "dev-ino.h" #include "error.h" -#include "openat.h" #include "quote.h" #include "quotearg.h" #include "root-dev-ino.h" diff --git a/src/chmod.c b/src/chmod.c index a22e5c127..9f307e508 100644 --- a/src/chmod.c +++ b/src/chmod.c @@ -1,5 +1,5 @@ /* chmod -- change permission modes of files - Copyright (C) 89, 90, 91, 1995-2007 Free Software Foundation, Inc. + Copyright (C) 89, 90, 91, 1995-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 @@ -26,7 +26,6 @@ #include "error.h" #include "filemode.h" #include "modechange.h" -#include "openat.h" #include "quote.h" #include "quotearg.h" #include "root-dev-ino.h" diff --git a/src/chown-core.c b/src/chown-core.c index 9768652a2..9c43b21b4 100644 --- a/src/chown-core.c +++ b/src/chown-core.c @@ -26,7 +26,6 @@ #include "chown-core.h" #include "error.h" #include "inttostr.h" -#include "openat.h" #include "quote.h" #include "root-dev-ino.h" #include "xfts.h" diff --git a/src/remove.c b/src/remove.c index fe603bbc0..1658fb990 100644 --- a/src/remove.c +++ b/src/remove.c @@ -33,7 +33,6 @@ #include "hash-pjw.h" #include "lstat.h" #include "obstack.h" -#include "openat.h" #include "quote.h" #include "remove.h" #include "root-dev-ino.h" diff --git a/src/system.h b/src/system.h index b0b954510..b640c01df 100644 --- a/src/system.h +++ b/src/system.h @@ -359,6 +359,7 @@ uid_t getuid (); #include "same-inode.h" #include "dirname.h" +#include "openat.h" static inline bool dot_or_dotdot (char const *file_name) |