From: Jim Meyering Date: Mon, 4 Sep 2000 20:50:45 +0000 (+0000) Subject: Move declaractions of lstat, stat, and rpl_lstat X-Git-Tag: FILEUTILS-4_0z~40 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=25e0824d28f499173211f901710abe822143d38c;p=thirdparty%2Fcoreutils.git Move declaractions of lstat, stat, and rpl_lstat as well as the definition of lstat from here to copy.h. --- diff --git a/src/cp.c b/src/cp.c index 63cda21ffd..f766baee1a 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. */