diff options
author | Miles Bader <miles@gnu.org> | 1995-11-02 22:59:33 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-11-02 22:59:33 +0000 |
commit | a909a80ca3c5e21fa54e7fc4a45581dc408dc62c (patch) | |
tree | 69e05bf6ce84613045fe6b9523dcfcab6040a938 | |
parent | 20f9acdd40770065b994f3f58a7fcda32064a6cc (diff) |
(fshelp_start_translator):
Change to use a callback function instead of passing the actual node.
-rw-r--r-- | libfshelp/start-translator.c | 8 |
1 files 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 <hurd.h> 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); } - - - |