aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2015-08-30 16:41:20 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2016-07-06 17:05:48 +0200
commitb3a2304ce0863bc9445eee2cc390adf804fc58b2 (patch)
tree49a26a032bfa27b9d04d2cb9019e494a8da20f61
parent7fd73b92742bcb497c769444dc0ca877ffe9d702 (diff)
aper: fixup after port
-rw-r--r--skeletons/INTEGER.c6
1 files 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;