From c0ae697fb256e34aa2b373b0486eef09e28bf16d Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 11 Dec 2010 03:19:56 +0100 Subject: [PATCH] Oops, fix mistake in last commit. --- lib/unistd.in.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/lib/unistd.in.h b/lib/unistd.in.h index 6bd326459..95ac12667 100644 --- a/lib/unistd.in.h +++ b/lib/unistd.in.h @@ -976,16 +976,10 @@ _GL_WARN_ON_USE (lseek, "lseek does not fail with ESPIPE on pipes on some " /* Create a pipe, defaulting to O_BINARY mode. Store the read-end as fd[0] and the write-end as fd[1]. Return 0 upon success, or -1 with errno set upon failure. */ -# if @HAVE_PIPE@ -# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -# define pipe rpl_pipe -# endif -_GL_FUNCDECL_RPL (pipe, int, (int fd[2]) _GL_ARG_NONNULL ((1))); -_GL_CXXALIAS_RPL (pipe, int, (int fd[2])); -# else +# if !@HAVE_PIPE@ _GL_FUNCDECL_SYS (pipe, int, (int fd[2]) _GL_ARG_NONNULL ((1))); -_GL_CXXALIAS_SYS (pipe, int, (int fd[2])); # endif +_GL_CXXALIAS_SYS (pipe, int, (int fd[2])); _GL_CXXALIASWARN (pipe); #elif defined GNULIB_POSIXCHECK # undef pipe -- 2.11.0