summaryrefslogtreecommitdiff
path: root/trans
diff options
context:
space:
mode:
Diffstat (limited to 'trans')
-rw-r--r--trans/ifsock.c5
-rw-r--r--trans/null.c6
2 files changed, 4 insertions, 7 deletions
diff --git a/trans/ifsock.c b/trans/ifsock.c
index acbeda13..01df4afa 100644
--- a/trans/ifsock.c
+++ b/trans/ifsock.c
@@ -99,14 +99,13 @@ main (int argc, char **argv)
}
void
-trivfs_modify_stat (struct stat *st)
+trivfs_modify_stat (struct trivfs_protid *cred, struct stat *st)
{
st->st_mode = (st->st_mode & ~S_IFMT) | S_IFSOCK;
}
error_t
-trivfs_goaway (int flags, mach_port_t realnode, struct port_class *cntl_class,
- struct port_class *protid_class)
+trivfs_goaway (struct trivfs_control *fsys, int flags)
{
exit (0);
}
diff --git a/trans/null.c b/trans/null.c
index 904a2804..28774a36 100644
--- a/trans/null.c
+++ b/trans/null.c
@@ -95,7 +95,7 @@ int trivfs_support_exec = 0;
int trivfs_allow_open = O_READ | O_WRITE;
void
-trivfs_modify_stat (struct stat *st)
+trivfs_modify_stat (struct trivfs_protid *cred, struct stat *st)
{
st->st_blksize = vm_page_size * 256; /* Make transfers LARRRRRGE */
@@ -107,9 +107,7 @@ trivfs_modify_stat (struct stat *st)
}
error_t
-trivfs_goaway (int flags, mach_port_t realnode,
- struct port_class *control_class,
- struct port_class *protid_class)
+trivfs_goaway (struct trivfs_control *fsys, int flags)
{
exit(0);
}