# HG changeset patch # User Paul Eggert # Date 1157735477 0 # Node ID 09d34e7dc0d8c190e77f76761cb3f0c66aae8f03 # Parent 9ff9e0f3d681792db46225e48c7f85bd43fd7a99 * isapipe.h (HAVE_FIFO_PIPES) [!defined HAVE_FIFO_PIPES]: Moved to here ... * isapipe.c (HAVE_FIFO_PIPES) [!defined HAVE_FIFO_PIPES]: ... from here. diff --git a/lib/ChangeLog b/lib/ChangeLog --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,10 @@ +2006-09-08 Paul Eggert + + * isapipe.h (HAVE_FIFO_PIPES) [!defined HAVE_FIFO_PIPES]: + Moved to here ... + * isapipe.c (HAVE_FIFO_PIPES) [!defined HAVE_FIFO_PIPES]: + ... from here. + 2006-09-06 Bruno Haible * striconv.h: New file. @@ -9,10 +16,10 @@ 2006-09-05 Ralf Wildenhues * argz_.h: Sync from Libtool. - + 2006-09-04 George Bosilca and Ralf Wildenhues - + * libltdl/argz_.h: It's __cplusplus, not _cplusplus. 2006-09-05 Davide Angelocola diff --git a/lib/isapipe.c b/lib/isapipe.c --- a/lib/isapipe.c +++ b/lib/isapipe.c @@ -30,11 +30,6 @@ #include "stat-macros.h" -/* Whether pipes are FIFOs; -1 if not known. */ -#ifndef HAVE_FIFO_PIPES -# define HAVE_FIFO_PIPES (-1) -#endif - /* The maximum link count for pipes; (nlink_t) -1 if not known. */ #ifndef PIPE_LINK_COUNT_MAX # define PIPE_LINK_COUNT_MAX ((nlink_t) (-1)) diff --git a/lib/isapipe.h b/lib/isapipe.h --- a/lib/isapipe.h +++ b/lib/isapipe.h @@ -1,1 +1,6 @@ -int isapipe (int); +/* Whether pipes are FIFOs; -1 if not known. */ +#ifndef HAVE_FIFO_PIPES +# define HAVE_FIFO_PIPES (-1) +#endif + +int isapipe (int fd);