diff options
author | Jim Meyering <jim@meyering.net> | 2003-01-04 08:58:12 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-01-04 08:58:12 +0000 |
commit | 33ca4e1f5ad3e6b0dd9de429ba92664841bc6f07 (patch) | |
tree | da59961fcae8448161b5f30ee8a805f2cc1c764e | |
parent | fd5d4e6d547f1c0cd8d7b7c3a042358d75e48eb4 (diff) | |
download | coreutils-33ca4e1f5ad3e6b0dd9de429ba92664841bc6f07.tar.xz |
[S_ISLNK, S_ISFIFO, S_ISSOCK]: Don't define.
They're already defined in sys2.h.
-rw-r--r-- | src/shred.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/shred.c b/src/shred.c index 1e6354c34..6ea5417af 100644 --- a/src/shred.c +++ b/src/shred.c @@ -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 |