summaryrefslogtreecommitdiff
path: root/trans/streamio.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-06-13 21:26:39 +0000
committerRoland McGrath <roland@gnu.org>2002-06-13 21:26:39 +0000
commit48d0548e88e4c06722165a969fccfbd429dff2f0 (patch)
tree58f199816ae4b798281e0f4ba5c6bee7df5e8e7d /trans/streamio.c
parent541dbfcc1fdfa6e35177a805c7a0ab890f821de3 (diff)
2002-06-13 Roland McGrath <roland@frob.com>
* firmlink.c (trivfs_S_io_read): Fix type of DATA argument. * streamio.c (trivfs_S_io_read): Likewise. (trivfs_S_io_write): Likewise. * hello.c (trivfs_S_io_read): Likewise. * hello-mt.c (trivfs_S_io_read): Likewise. * null.c (trivfs_S_io_read): Likewise. (trivfs_S_io_write): Likewise. (trivfs_S_file_set_size): Add reply port args. * hello.c (trivfs_S_io_read): off_t -> loff_t * hello-mt.c (trivfs_S_io_read): Likewise. * streamio.c (trivfs_S_io_read, trivfs_S_io_write): Likewise. (trivfs_S_file_sync): Add missing arg.
Diffstat (limited to 'trans/streamio.c')
-rw-r--r--trans/streamio.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/trans/streamio.c b/trans/streamio.c
index c1685f38..645f5861 100644
--- a/trans/streamio.c
+++ b/trans/streamio.c
@@ -474,8 +474,8 @@ trivfs_goaway (struct trivfs_control *fsys, int flags)
error_t
trivfs_S_io_read (struct trivfs_protid *cred,
mach_port_t reply, mach_msg_type_name_t reply_type,
- vm_address_t *data, mach_msg_type_number_t *data_len,
- off_t offs, mach_msg_type_number_t amount)
+ char **data, mach_msg_type_number_t *data_len,
+ loff_t offs, mach_msg_type_number_t amount)
{
error_t err;
@@ -513,8 +513,8 @@ trivfs_S_io_readable (struct trivfs_protid *cred,
error_t
trivfs_S_io_write (struct trivfs_protid *cred,
mach_port_t reply, mach_msg_type_name_t reply_type,
- vm_address_t data, mach_msg_type_number_t data_len,
- off_t offs, mach_msg_type_number_t *amount)
+ char *data, mach_msg_type_number_t data_len,
+ loff_t offs, mach_msg_type_number_t *amount)
{
error_t err;
@@ -662,7 +662,7 @@ trivfs_S_io_clear_some_openmodes (struct trivfs_protid *cred,
error_t
trivfs_S_file_sync (struct trivfs_protid *cred,
mach_port_t reply, mach_msg_type_name_t reply_type,
- int wait)
+ int wait, int omit_metadata)
{
error_t err;