Move declaractions of lstat, stat, and rpl_lstat
authorJim Meyering <jim@meyering.net>
Mon, 4 Sep 2000 20:50:45 +0000 (20:50 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 4 Sep 2000 20:50:45 +0000 (20:50 +0000)
as well as the definition of lstat from here to copy.h.

src/cp.c

index 63cda21..f766bae 100644 (file)
--- 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.  */