]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - io/pipe2.c
Fix BRE typos in check-safety.sh
[thirdparty/glibc.git] / io / pipe2.c
index d06ed7af9f262ca487b8c4fe156084b7ed830087..cff5fd1b67b3d21995759561ad6ff3a04adf8961 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2022 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
 #include <unistd.h>
@@ -24,9 +24,7 @@
    PIPEDES[1] can be read from PIPEDES[0].  Apply FLAGS to the new
    file descriptors.  Returns 0 if successful, -1 if not.  */
 int
-__pipe2 (pipedes, flags)
-     int pipedes[2];
-     int flags;
+__pipe2 (int pipedes[2], int flags)
 {
   if (pipedes == NULL)
     {