summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
Diffstat (limited to 'io')
-rw-r--r--io/pipe.c3
-rw-r--r--io/pipe2.c4
2 files changed, 2 insertions, 5 deletions
diff --git a/io/pipe.c b/io/pipe.c
index 8cc20f1ae0..0377ac1b18 100644
--- a/io/pipe.c
+++ b/io/pipe.c
@@ -24,8 +24,7 @@
bytes written on PIPEDES[1] can be read from PIPEDES[0].
Returns 0 if successful, -1 if not. */
int
-__pipe (__pipedes)
- int __pipedes[2];
+__pipe (int __pipedes[2])
{
if (__pipedes == NULL)
{
diff --git a/io/pipe2.c b/io/pipe2.c
index d06ed7af9f..cb7805c1de 100644
--- a/io/pipe2.c
+++ b/io/pipe2.c
@@ -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)
{