From: Jim Meyering Date: Sat, 4 Jan 2003 08:58:12 +0000 (+0000) Subject: [S_ISLNK, S_ISFIFO, S_ISSOCK]: Don't define. X-Git-Tag: v4.5.5~354 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33ca4e1f5ad3e6b0dd9de429ba92664841bc6f07;p=thirdparty%2Fcoreutils.git [S_ISLNK, S_ISFIFO, S_ISSOCK]: Don't define. They're already defined in sys2.h. --- diff --git a/src/shred.c b/src/shred.c index 1e6354c34c..6ea5417af2 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