From cc407c39bb329d18d55f9c3d1055d25e90e73a37 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 24 Aug 1995 16:01:14 +0000 Subject: (trivfs_goaway, trivfs_modify_stat): Update arguments. --- trans/ifsock.c | 5 ++--- trans/null.c | 6 ++---- 2 files changed, 4 insertions(+), 7 deletions(-) (limited to 'trans') 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); } -- cgit v1.2.3