From 25aebae77d29f2984078606f0789a6db36218ea9 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 28 Aug 2006 23:29:38 +0000 Subject: * src/copy.c (copy_internal): Don't test whether macros like S_ISLNK are defined, since they're always defined now. * src/cp.c (main): Likewise. * src/ln.c (main): Likewise. * src/ls.c (get_link_name, make_link_name): Likewise. * src/mkfifo.c (usage): Likewise. * src/who.c (S_IWGRP): Likewise. --- src/mkfifo.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/mkfifo.c') diff --git a/src/mkfifo.c b/src/mkfifo.c index a16d93cb7..d329b79b8 100644 --- a/src/mkfifo.c +++ b/src/mkfifo.c @@ -43,7 +43,6 @@ static struct option const longopts[] = {NULL, 0, NULL, 0} }; -#ifdef S_ISFIFO void usage (int status) { @@ -69,7 +68,6 @@ Mandatory arguments to long options are mandatory for short options too.\n\ } exit (status); } -#endif int main (int argc, char **argv) @@ -87,9 +85,6 @@ main (int argc, char **argv) atexit (close_stdout); -#ifndef S_ISFIFO - error (EXIT_FAILURE, 0, _("fifo files not supported")); -#else while ((optc = getopt_long (argc, argv, "m:", longopts, NULL)) != -1) { switch (optc) @@ -131,5 +126,4 @@ main (int argc, char **argv) } exit (exit_status); -#endif } -- cgit v1.2.3-54-g00ecf