From 96703e462f10cb798272e9820a05df956096fca9 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 24 Apr 2022 21:17:20 -0700 Subject: [PATCH] sfio: remove unused 'S_ISFIFO' This has seemingly never been used. Github: #1998 --- lib/sfio/sfhdr.h | 11 ----------- 1 file changed, 11 deletions(-) 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 -- 2.40.0