summaryrefslogtreecommitdiff
path: root/trans/null.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-09-08 08:41:48 +0000
committerThomas Bushnell <thomas@gnu.org>1999-09-08 08:41:48 +0000
commitacaedfea96345110b420a9ad66accef684fe45c4 (patch)
treebdcc77e604484393f552b06b2815ca1ccf920d64 /trans/null.c
parentd0b0007290e8dc5dccd6ff7a0fb3640937e4ce63 (diff)
1999-09-07 Thomas Bushnell, BSG <tb@mit.edu>
* null.c (trivfs_S_io_map): Renamed to ... (trivfs_S_io_map_segment): ... here, with new parameter `index'. * new-fifo.c (trivfs_S_io_map): Renamed to ... (trivfs_S_io_map_segment): ... here, with new parameter `index'. * fifo.c (trivfs_S_io_map): Renamed to ... (trivfs_S_io_map_segment): ... here, with new parameter `index'.
Diffstat (limited to 'trans/null.c')
-rw-r--r--trans/null.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/trans/null.c b/trans/null.c
index 2729a639..b0924dbf 100644
--- a/trans/null.c
+++ b/trans/null.c
@@ -99,11 +99,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. */
kern_return_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_segment(struct trivfs_protid *cred,
+ int index,
+ memory_object_t *rdobj,
+ mach_msg_type_name_t *rdtype,
+ memory_object_t *wrobj,
+ mach_msg_type_name_t *wrtype)
{
return EINVAL; /* XXX should work! */
}