changeset 13926:b4c4a43e95e4

Oops, fix mistake in last commit.
author Bruno Haible <bruno@clisp.org>
date Sat, 11 Dec 2010 03:19:56 +0100
parents 29a686188651
children 110284ca96ab
files lib/unistd.in.h
diffstat 1 files changed, 2 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/lib/unistd.in.h
+++ b/lib/unistd.in.h
@@ -976,16 +976,10 @@
 /* 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)));
+# endif
 _GL_CXXALIAS_SYS (pipe, int, (int fd[2]));
-# endif
 _GL_CXXALIASWARN (pipe);
 #elif defined GNULIB_POSIXCHECK
 # undef pipe