From 1815974f2cbeff75e7d2256cd3e7e641f8f15453 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 13 Jun 2002 21:27:20 +0000 Subject: 2002-06-13 Roland McGrath * io.c (trivfs_S_io_read, trivfs_S_io_write): off_t -> loff_t. Fix DATA argument type. (trivfs_S_file_sync): Add missing last arg. --- storeio/io.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'storeio') diff --git a/storeio/io.c b/storeio/io.c index 8c311866..508df77a 100644 --- a/storeio/io.c +++ b/storeio/io.c @@ -1,6 +1,6 @@ /* The hurd io interface to storeio - Copyright (C) 1995,96,97,99,2000 Free Software Foundation, Inc. + Copyright (C) 1995,96,97,99,2000,02 Free Software Foundation, Inc. Written by Miles Bader This program is free software; you can redistribute it and/or @@ -81,8 +81,8 @@ trivfs_S_io_map (struct trivfs_protid *cred, 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) { if (! cred) return EOPNOTSUPP; @@ -123,8 +123,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) { if (! cred) return EOPNOTSUPP; @@ -272,7 +272,7 @@ trivfs_S_io_mod_owner (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) { if (cred) return dev_sync (((struct open *)cred->po->hook)->dev, wait); -- cgit v1.2.3