]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(S_ISLNK, S_ISFIFO S_ISSOCK S_ISCHR S_ISBLK S_ISDOOR): Remove definitions.
authorJim Meyering <jim@meyering.net>
Tue, 21 May 2002 23:14:42 +0000 (23:14 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 21 May 2002 23:14:42 +0000 (23:14 +0000)
src/ls.c

index e74504bb6798e172848bc5289b738898f8e7ca45..9aa9b47ee12dd146cd0f75e56a9bc2d1e11d0c62 100644 (file)
--- 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.  */