summaryrefslogtreecommitdiff
path: root/streams
diff options
context:
space:
mode:
Diffstat (limited to 'streams')
-rw-r--r--streams/fattach.c4
-rw-r--r--streams/fdetach.c3
-rw-r--r--streams/getmsg.c6
-rw-r--r--streams/isastream.c3
4 files changed, 4 insertions, 12 deletions
diff --git a/streams/fattach.c b/streams/fattach.c
index 6a282d89a8..8e1edfc50f 100644
--- a/streams/fattach.c
+++ b/streams/fattach.c
@@ -19,9 +19,7 @@
#include <stropts.h>
int
-fattach (fildes, path)
- int fildes;
- const char *path;
+fattach (int fildes, const char *path)
{
__set_errno (ENOSYS);
return -1;
diff --git a/streams/fdetach.c b/streams/fdetach.c
index 09706de30a..44d9d937a9 100644
--- a/streams/fdetach.c
+++ b/streams/fdetach.c
@@ -19,8 +19,7 @@
#include <stropts.h>
int
-fdetach (path)
- const char *path;
+fdetach (const char *path)
{
__set_errno (ENOSYS);
return -1;
diff --git a/streams/getmsg.c b/streams/getmsg.c
index 5ca595a998..12fbb7a095 100644
--- a/streams/getmsg.c
+++ b/streams/getmsg.c
@@ -19,11 +19,7 @@
#include <stropts.h>
int
-getmsg (fildes, ctlptr, dataptr, flagsp)
- int fildes;
- struct strbuf *ctlptr;
- struct strbuf *dataptr;
- int *flagsp;
+getmsg (int fildes, struct strbuf *ctlptr, struct strbuf *dataptr, int *flagsp)
{
__set_errno (ENOSYS);
return -1;
diff --git a/streams/isastream.c b/streams/isastream.c
index f8d2b20032..5ed976a330 100644
--- a/streams/isastream.c
+++ b/streams/isastream.c
@@ -20,8 +20,7 @@
#include <stropts.h>
int
-isastream (fildes)
- int fildes;
+isastream (int fildes)
{
/* In general we do not have a STREAMS implementation and therefore
return 0. But for invalid file descriptors we have to return an