diff options
author | Lev Walkin <vlm@lionet.info> | 2004-09-22 16:05:13 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2004-09-22 16:05:13 +0000 |
commit | e4d6ab83d7937337f1c19acfb4353fd0d43180dd (patch) | |
tree | 3c7492e9ef9d287b30340f746eca1744201d4868 /libasn1compiler | |
parent | 83cac2f51fbcd0c93f097039788e588f92f57b12 (diff) |
libasn1fix api change
Diffstat (limited to 'libasn1compiler')
-rw-r--r-- | libasn1compiler/asn1c_constraint.c | 4 | ||||
-rw-r--r-- | libasn1compiler/asn1c_misc.c | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/libasn1compiler/asn1c_constraint.c b/libasn1compiler/asn1c_constraint.c index 5147806f..7de5e54d 100644 --- a/libasn1compiler/asn1c_constraint.c +++ b/libasn1compiler/asn1c_constraint.c @@ -365,7 +365,7 @@ emit_alphabet_check_loop(arg_t *arg, asn1cnst_range_t *range) { asn1_integer_t natural_stop; asn1p_expr_t *terminal; - terminal = asn1f_find_terminal_type_ex(arg->asn, arg->mod, arg->expr); + terminal = asn1f_find_terminal_type_ex(arg->asn, arg->expr); if(terminal) { OUT("/* The underlying type is %s */\n", ASN_EXPR_TYPE2STR(terminal->expr_type)); @@ -622,7 +622,7 @@ emit_value_determination_code(arg_t *arg, asn1p_expr_type_e etype, asn1cnst_rang static asn1p_expr_type_e _find_terminal_type(arg_t *arg) { asn1p_expr_t *expr; - expr = asn1f_find_terminal_type_ex(arg->asn, arg->mod, arg->expr); + expr = asn1f_find_terminal_type_ex(arg->asn, arg->expr); if(expr) return expr->expr_type; return A1TC_INVALID; } diff --git a/libasn1compiler/asn1c_misc.c b/libasn1compiler/asn1c_misc.c index 86edb52b..a1dbbd89 100644 --- a/libasn1compiler/asn1c_misc.c +++ b/libasn1compiler/asn1c_misc.c @@ -119,8 +119,7 @@ asn1c_type_name(arg_t *arg, asn1p_expr_t *expr, enum tnfmt _format) { * ("struct foo" instead of "foo_t"). */ asn1p_expr_t *terminal; - terminal = asn1f_find_terminal_type_ex( - arg->asn, arg->mod, expr); + terminal = asn1f_find_terminal_type_ex(arg->asn, expr); if(terminal && terminal == top_parent) { _format = TNF_RSAFE; } |