diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-07-03 09:31:19 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-07-03 09:31:19 +0000 |
commit | a6e5563cef766e7d2870465ca9f5f82125bf7025 (patch) | |
tree | 44407e5a3775eb87ff8a61ed4e3692f2c8b8ff2b /src/remove.c | |
parent | 22b464a900a9190fa97ba43e06b5824ffa6c67e9 (diff) | |
download | coreutils-a6e5563cef766e7d2870465ca9f5f82125bf7025.tar.xz |
Include "lstat.h" rather than rolling our own.
Diffstat (limited to 'src/remove.c')
-rw-r--r-- | src/remove.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/remove.c b/src/remove.c index 7c5578704..aad4856b6 100644 --- a/src/remove.c +++ b/src/remove.c @@ -32,6 +32,7 @@ #include "file-type.h" #include "hash.h" #include "hash-pjw.h" +#include "lstat.h" #include "obstack.h" #include "quote.h" #include "remove.h" @@ -78,13 +79,6 @@ enum Prompt_action PA_REMOVE_DIR }; -/* On systems with an lstat function that accepts the empty string, - arrange to make lstat calls go through the wrapper function. */ -#if HAVE_LSTAT_EMPTY_STRING_BUG -int rpl_lstat (const char *, struct stat *); -# define lstat(Name, Stat_buf) rpl_lstat(Name, Stat_buf) -#endif - /* Initial capacity of per-directory hash table of entries that have been processed but not been deleted. */ #define HT_UNREMOVABLE_INITIAL_CAPACITY 13 |