From b2309497e27385374c2dfff2324ba889384c7787 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 24 May 1994 21:56:34 +0000 Subject: Formerly io-duplicate.c.~3~ --- libtrivfs/io-duplicate.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'libtrivfs/io-duplicate.c') diff --git a/libtrivfs/io-duplicate.c b/libtrivfs/io-duplicate.c index 9cdefa71..6cd50966 100644 --- a/libtrivfs/io-duplicate.c +++ b/libtrivfs/io-duplicate.c @@ -20,18 +20,19 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Written by Michael I. Bushnell. */ #include "priv.h" +#include "io_S.h" -error_t -trivfs_S_io_duplicate (struct protid *cred, +kern_return_t +trivfs_S_io_duplicate (struct trivfs_protid *cred, mach_port_t *newport, mach_msg_type_name_t *newporttype) { - struct protid *newcred; + struct trivfs_protid *newcred; if (!cred) return EOPNOTSUPP; - newcred = ports_allocate_port (sizeof (struct protid), + newcred = ports_allocate_port (sizeof (struct trivfs_protid), trivfs_protid_porttype); newcred->realnode = cred->realnode; newcred->isroot = cred->isroot; -- cgit v1.2.3