From: Jim Meyering Date: Tue, 21 May 2002 23:14:42 +0000 (+0000) Subject: (S_ISLNK, S_ISFIFO S_ISSOCK S_ISCHR S_ISBLK S_ISDOOR): Remove definitions. X-Git-Tag: FILEUTILS-4_1_9~190 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b2cb94b93ccec08b248a72b8ea9ba6085e302946;p=thirdparty%2Fcoreutils.git (S_ISLNK, S_ISFIFO S_ISSOCK S_ISCHR S_ISBLK S_ISDOOR): Remove definitions. --- diff --git a/src/ls.c b/src/ls.c index e74504bb67..9aa9b47ee1 100644 --- a/src/ls.c +++ b/src/ls.c @@ -149,32 +149,6 @@ int wcwidth (); # define HAVE_SYMLINKS 0 #endif -/* If any of the S_* macros are undefined, define them here so each - use doesn't have to be guarded with e.g., #ifdef S_ISLNK. */ -#ifndef S_ISLNK -# define S_ISLNK(Mode) 0 -#endif - -#ifndef S_ISFIFO -# define S_ISFIFO(Mode) 0 -#endif - -#ifndef S_ISSOCK -# define S_ISSOCK(Mode) 0 -#endif - -#ifndef S_ISCHR -# define S_ISCHR(Mode) 0 -#endif - -#ifndef S_ISBLK -# define S_ISBLK(Mode) 0 -#endif - -#ifndef S_ISDOOR -# define S_ISDOOR(Mode) 0 -#endif - /* 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. */