]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
[S_ISLNK, S_ISFIFO, S_ISSOCK]: Don't define.
authorJim Meyering <jim@meyering.net>
Sat, 4 Jan 2003 08:58:12 +0000 (08:58 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 4 Jan 2003 08:58:12 +0000 (08:58 +0000)
They're already defined in sys2.h.

src/shred.c

index 1e6354c34c4d857425bcdc6d7e5a177001829d13..6ea5417af2bd2b24261643440f0b7256c281e198 100644 (file)
@@ -1,6 +1,6 @@
 /* shred.c - overwrite files and devices to make it harder to recover data
 
-   Copyright (C) 1999-2002 Free Software Foundation, Inc.
+   Copyright (C) 1999-2003 Free Software Foundation, Inc.
    Copyright (C) 1997, 1998, 1999 Colin Plumb.
 
    This program is free software; you can redistribute it and/or modify
@@ -116,17 +116,6 @@ char *xstrdup (char const *);
 # define O_NOCTTY 0  /* This is a very optional frill */
 #endif
 
-/* Some systems don't support some file types.  */
-#ifndef S_ISFIFO
-# define S_ISFIFO(mode) 0
-#endif
-#ifndef S_ISLNK
-# define S_ISLNK(mode) 0
-#endif
-#ifndef S_ISSOCK
-# define S_ISSOCK(mode) 0
-#endif
-
 #define DEFAULT_PASSES 25      /* Default */
 
 /* How many seconds to wait before checking whether to output another