summaryrefslogtreecommitdiff
path: root/src/cp.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-09-04 20:50:45 +0000
committerJim Meyering <jim@meyering.net>2000-09-04 20:50:45 +0000
commit25e0824d28f499173211f901710abe822143d38c (patch)
treef435931c0bfe40b9f594507ee83bb2ef1f8482b6 /src/cp.c
parent739a26873587a20bd1804bdac93a00d689669c55 (diff)
downloadcoreutils-25e0824d28f499173211f901710abe822143d38c.tar.xz
Move declaractions of lstat, stat, and rpl_lstat
as well as the definition of lstat from here to copy.h.
Diffstat (limited to 'src/cp.c')
-rw-r--r--src/cp.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/cp.c b/src/cp.c
index 63cda21ff..f766baee1 100644
--- a/src/cp.c
+++ b/src/cp.c
@@ -77,18 +77,6 @@ enum
UNLINK_DEST_BEFORE_OPENING
};
-int stat ();
-int lstat ();
-
-/* Arrange to make lstat calls go through the wrapper function
- on systems with an lstat function that does not dereference symlinks
- that are specified with a trailing slash. */
-#if ! LSTAT_FOLLOWS_SLASHED_SYMLINK
-int rpl_lstat PARAMS((const char *, struct stat *));
-# undef lstat
-# define lstat rpl_lstat
-#endif
-
void strip_trailing_slashes ();
/* Initial number of entries in each hash table entry's table of inodes. */