summaryrefslogtreecommitdiff
path: root/trans/new-fifo.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-06-13 21:26:42 +0000
committerRoland McGrath <roland@gnu.org>2002-06-13 21:26:42 +0000
commit2a5d68d068a6e17e538dc12b591b20368a14bb35 (patch)
treeb7fc6809ac3a537116433a7dfa05382d228c0ee7 /trans/new-fifo.c
parent48d0548e88e4c06722165a969fccfbd429dff2f0 (diff)
2002-06-13 Roland McGrath <roland@frob.com>
* new-fifo.c (trivfs_S_io_map): Add reply port args. (trivfs_S_io_select): Remove bogus last arg.
Diffstat (limited to 'trans/new-fifo.c')
-rw-r--r--trans/new-fifo.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/trans/new-fifo.c b/trans/new-fifo.c
index b3b57d84..85b1c55e 100644
--- a/trans/new-fifo.c
+++ b/trans/new-fifo.c
@@ -1,6 +1,6 @@
/* A translator for fifos
- Copyright (C) 1995,96,97,98,2000 Free Software Foundation, Inc.
+ Copyright (C) 1995,96,97,98,2000,02 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.org>
This program is free software; you can redistribute it and/or
@@ -502,11 +502,12 @@ trivfs_goaway (struct trivfs_control *fsys, int flags)
mapping; they will set none of the ports and return an error. Such
objects can still be accessed by io_read and io_write. */
error_t
-trivfs_S_io_map(struct trivfs_protid *cred,
- memory_object_t *rdobj,
- mach_msg_type_name_t *rdtype,
- memory_object_t *wrobj,
- mach_msg_type_name_t *wrtype)
+trivfs_S_io_map (struct trivfs_protid *cred,
+ mach_port_t reply, mach_msg_type_name_t replytype,
+ memory_object_t *rdobj,
+ mach_msg_type_name_t *rdtype,
+ memory_object_t *wrobj,
+ mach_msg_type_name_t *wrtype)
{
return EINVAL;
}
@@ -593,7 +594,7 @@ trivfs_S_io_seek (struct trivfs_protid *cred,
error_t
trivfs_S_io_select (struct trivfs_protid *cred,
mach_port_t reply, mach_msg_type_name_t reply_type,
- int *select_type, int *tag)
+ int *select_type)
{
struct pipe *pipe;
error_t err = 0;