From b3a2304ce0863bc9445eee2cc390adf804fc58b2 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 30 Aug 2015 16:41:20 +0200 Subject: aper: fixup after port --- skeletons/INTEGER.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/skeletons/INTEGER.c b/skeletons/INTEGER.c index 1107e200..6ca67d4b 100644 --- a/skeletons/INTEGER.c +++ b/skeletons/INTEGER.c @@ -27,6 +27,8 @@ asn_TYPE_descriptor_t asn_DEF_INTEGER = { #ifdef ASN_DISABLE_PER_SUPPORT 0, 0, + 0, + 0, #else INTEGER_decode_uper, /* Unaligned PER decoder */ INTEGER_encode_uper, /* Unaligned PER encoder */ @@ -905,8 +907,6 @@ INTEGER_encode_uper(asn_TYPE_descriptor_t *td, ASN__ENCODED_OK(er); } -#endif /* ASN_DISABLE_PER_SUPPORT */ - asn_enc_rval_t INTEGER_encode_aper(asn_TYPE_descriptor_t *td, asn_per_constraints_t *constraints, void *sptr, asn_per_outp_t *po) { @@ -1030,6 +1030,8 @@ INTEGER_encode_aper(asn_TYPE_descriptor_t *td, _ASN_ENCODED_OK(er); } +#endif /* ASN_DISABLE_PER_SUPPORT */ + int asn_INTEGER2long(const INTEGER_t *iptr, long *lptr) { uint8_t *b, *end; -- cgit v1.2.3