From: Bruno Haible Date: Sat, 11 Dec 2010 02:19:56 +0000 (+0100) Subject: Oops, fix mistake in last commit. X-Git-Tag: v0.1~3561 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=c0ae697fb256e34aa2b373b0486eef09e28bf16d;p=gnulib.git Oops, fix mistake in last commit. --- 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