From: Matthew Fernandez Date: Mon, 25 Apr 2022 04:17:20 +0000 (-0700) Subject: sfio: remove unused 'S_ISFIFO' X-Git-Tag: 4.0.0~58^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=96703e462f10cb798272e9820a05df956096fca9;p=graphviz sfio: remove unused 'S_ISFIFO' This has seemingly never been used. Github: #1998 --- diff --git a/lib/sfio/sfhdr.h b/lib/sfio/sfhdr.h index d8a4afe81..745d29e9f 100644 --- a/lib/sfio/sfhdr.h +++ b/lib/sfio/sfhdr.h @@ -132,9 +132,6 @@ extern "C" { #ifndef S_IFCHR #define S_IFCHR 0 #endif -#ifndef S_IFIFO -#define S_IFIFO 0 -#endif #ifndef S_ISDIR #define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR) @@ -146,14 +143,6 @@ extern "C" { #define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR) #endif -#ifndef S_ISFIFO -# ifdef S_IFIFO -# define S_ISFIFO(m) (((m)&S_IFMT) == S_IFIFO) -# else -# define S_ISFIFO(m) (0) -# endif -#endif - #if defined(S_IRUSR) && defined(S_IWUSR) && defined(S_IRGRP) && defined(S_IWGRP) && defined(S_IROTH) && defined(S_IWOTH) #define SF_CREATMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH) #else