explicit module is not necessary


git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@362 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/libasn1fix/asn1fix_export.c b/libasn1fix/asn1fix_export.c
index 3a18ece..d6866fd 100644
--- a/libasn1fix/asn1fix_export.c
+++ b/libasn1fix/asn1fix_export.c
@@ -43,15 +43,13 @@
 }
 
 asn1p_expr_t *
-asn1f_find_terminal_type_ex(asn1p_t *asn,
-		asn1p_module_t *mod,
-		asn1p_expr_t *expr) {
+asn1f_find_terminal_type_ex(asn1p_t *asn, asn1p_expr_t *expr) {
 	arg_t arg;
 
 	memset(&arg, 0, sizeof(arg));
 
 	arg.asn = asn;
-	arg.mod = mod;
+	arg.mod = expr->module;
 	arg.expr = expr;
 	arg.eh = a1f_replace_me_with_proper_interface_arg.eh;
 	arg.debug = a1f_replace_me_with_proper_interface_arg.debug;
diff --git a/libasn1fix/asn1fix_export.h b/libasn1fix/asn1fix_export.h
index 8ebe448..5879b93 100644
--- a/libasn1fix/asn1fix_export.h
+++ b/libasn1fix/asn1fix_export.h
@@ -31,8 +31,7 @@
 /*
  * Exportable version of asn1f_find_terminal_type().
  */
-asn1p_expr_t *asn1f_find_terminal_type_ex(asn1p_t *asn, asn1p_module_t *mod,
-	asn1p_expr_t *tc);
+asn1p_expr_t *asn1f_find_terminal_type_ex(asn1p_t *asn, asn1p_expr_t *tc);
 
 /*
  * Exportable version of asn1f_fix_dereference_values();