From a909a80ca3c5e21fa54e7fc4a45581dc408dc62c Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 2 Nov 1995 22:59:33 +0000 Subject: (fshelp_start_translator): Change to use a callback function instead of passing the actual node. --- libfshelp/start-translator.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/libfshelp/start-translator.c b/libfshelp/start-translator.c index 446e5e57..f7b5523d 100644 --- a/libfshelp/start-translator.c +++ b/libfshelp/start-translator.c @@ -24,8 +24,7 @@ #include error_t -fshelp_start_translator (mach_port_t underlying, - mach_msg_type_name_t underlying_type, +fshelp_start_translator (fshelp_open_fn_t underlying_open_fn, char *name, char *argz, int argz_len, int timeout, fsys_t *control) { @@ -45,7 +44,7 @@ fshelp_start_translator (mach_port_t underlying, ports[INIT_PORT_AUTH] = getauth (); fds[STDERR_FILENO] = getdport (STDERR_FILENO); - return fshelp_start_translator_long (underlying, underlying_type, + return fshelp_start_translator_long (underlying_open_fn, name, argz, argz_len, fds, MACH_MSG_TYPE_MOVE_SEND, STDERR_FILENO + 1, @@ -54,6 +53,3 @@ fshelp_start_translator (mach_port_t underlying, ints, INIT_INT_MAX, timeout, control); } - - - -- cgit v1.2.3