diff options
author | Roland McGrath <roland@gnu.org> | 2002-06-13 21:27:20 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-06-13 21:27:20 +0000 |
commit | 1815974f2cbeff75e7d2256cd3e7e641f8f15453 (patch) | |
tree | 2c6f57274e81510ee8d57cd8830f9d2e59a017e8 | |
parent | 9fae8dc3d4e10a54a2d6cb2ed5c93ca53a0771c0 (diff) |
2002-06-13 Roland McGrath <roland@frob.com>
* 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.
-rw-r--r-- | storeio/io.c | 12 |
1 files changed, 6 insertions, 6 deletions
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 <miles@gnu.org> 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); |