summaryrefslogtreecommitdiff
path: root/trans
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-08-24 16:01:14 +0000
committerMiles Bader <miles@gnu.org>1995-08-24 16:01:14 +0000
commitcc407c39bb329d18d55f9c3d1055d25e90e73a37 (patch)
tree5e662cc56ffb0c90e2847568f639e5aafad1c468 /trans
parent27a6dfc7aabc7d1302d81d9119224f4bdcd65d9b (diff)
(trivfs_goaway, trivfs_modify_stat): Update arguments.
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);
}