commit | 792641eed28980fcf47522074ae2082dda2504a2 | [log] [tgz] |
---|---|---|
author | Lev Walkin <vlm@lionet.info> | Tue Aug 22 20:41:58 2017 -0700 |
committer | Lev Walkin <vlm@lionet.info> | Tue Aug 22 20:41:58 2017 -0700 |
tree | ebad7177a9597cedcc05e81983388a5ff7d85b2d | |
parent | e9050cc9c7ee254b6a36cf09ff80c6ff8ebf7d3f [diff] [blame] |
add const
diff --git a/libasn1compiler/asn1c_C.c b/libasn1compiler/asn1c_C.c index 7dc38cd..e5cd8dc 100644 --- a/libasn1compiler/asn1c_C.c +++ b/libasn1compiler/asn1c_C.c
@@ -1674,7 +1674,7 @@ if((expr->expr_type == ASN_BASIC_ENUMERATED) || (expr->expr_type == ASN_BASIC_INTEGER)) { if(expr->_type_referenced) { - OUT("extern asn_INTEGER_specifics_t " + OUT("extern const asn_INTEGER_specifics_t " "asn_SPC_%s_specs_%d;\n", p, expr->_type_unique_index); } } else {