summaryrefslogtreecommitdiff
path: root/trans/fifo.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-06-13 21:26:33 +0000
committerRoland McGrath <roland@gnu.org>2002-06-13 21:26:33 +0000
commit079a3525822634b7b051604b6c86387cd557b8df (patch)
treedd3cfcac32c94e3cdd439e11c9075fb57b9be2ca /trans/fifo.c
parent0218302e93819315495d96c84cb9c43354baa205 (diff)
2002-06-13 Roland McGrath <roland@frob.com>
* fifo.c (trivfs_S_io_map): Add reply port args. (trivfs_S_io_select): Remove bogus last arg.
Diffstat (limited to 'trans/fifo.c')
-rw-r--r--trans/fifo.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/trans/fifo.c b/trans/fifo.c
index b295ed55..6c06fad9 100644
--- a/trans/fifo.c
+++ b/trans/fifo.c
@@ -1,6 +1,6 @@
/* A translator for fifos
- Copyright (C) 1995,96,97,98,2001 Free Software Foundation, Inc.
+ Copyright (C) 1995,96,97,98,2001,02 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.org>
This program is free software; you can redistribute it and/or
@@ -317,11 +317,12 @@ trivfs_goaway (struct trivfs_control *cntl, 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;
}
@@ -406,7 +407,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;