From 36cd7dd18f92113467b7c94aab8fe7e0e543ca1f 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 7b3d10a2..c74c5b4d 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 */ @@ -904,8 +906,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) { @@ -1029,6 +1029,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