]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(count_entry) [S_ISLNK]: Don't define.
authorJim Meyering <jim@meyering.net>
Sat, 4 Jan 2003 08:55:19 +0000 (08:55 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 4 Jan 2003 08:55:19 +0000 (08:55 +0000)
It's already defined in sys2.h.

src/du.c

index a4648be67d23566f9eba3362b7f759277742e4b0..849b66cf0fce389e82e6828e829e6293adfe86b0 100644 (file)
--- a/src/du.c
+++ b/src/du.c
@@ -1,5 +1,5 @@
 /* du -- summarize disk usage
-   Copyright (C) 88, 89, 90, 91, 1995-2002 Free Software Foundation, Inc.
+   Copyright (C) 88, 89, 90, 91, 1995-2003 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -451,9 +451,7 @@ count_entry (const char *ent, int top, dev_t last_dev, int depth)
       if (opt_one_file_system && !top && last_dev != dir_dev)
        return 0;               /* Don't enter a new file system.  */
 
-#ifndef S_ISLNK
-# define S_ISLNK(s) 0
-#endif
+
       /* If we're traversing more than one level, or if we're
         dereferencing symlinks and we're about to chdir through a
         symlink, remember the current directory so we can return to