diff options
Diffstat (limited to 'trans.c')
-rw-r--r-- | trans.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -42,7 +42,7 @@ trans_el_t * dyntrans = NULL; /*Adds a translator control port to the list of ports. One should use only this function to add a new element to the list of ports. */ error_t -trans_register (mach_port_t cntl) +trans_register (fsys_t cntl, trans_el_t ** new_trans) { /*The new entry in the list */ trans_el_t * el; @@ -57,6 +57,8 @@ trans_register (mach_port_t cntl) el->next = dyntrans; dyntrans = el; + *new_trans = el; + return 0; } /*trans_register */ |