summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-05-21 23:14:42 +0000
committerJim Meyering <jim@meyering.net>2002-05-21 23:14:42 +0000
commitb2cb94b93ccec08b248a72b8ea9ba6085e302946 (patch)
treecedbb41a52fa6e620fb86633c9a3a65db1aa8e9c /src
parentc09bf755a6150be8f33dd1a7f91bf1fec20f7070 (diff)
downloadcoreutils-b2cb94b93ccec08b248a72b8ea9ba6085e302946.tar.xz
(S_ISLNK, S_ISFIFO S_ISSOCK S_ISCHR S_ISBLK S_ISDOOR): Remove definitions.
Diffstat (limited to 'src')
-rw-r--r--src/ls.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/ls.c b/src/ls.c
index e74504bb6..9aa9b47ee 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. */