aboutsummaryrefslogtreecommitdiffstats
path: root/skeletons
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2015-08-30 16:41:20 +0200
committerHarald Welte <laforge@gnumonks.org>2015-08-30 16:41:20 +0200
commit36cd7dd18f92113467b7c94aab8fe7e0e543ca1f (patch)
tree34eeab00fb85f108163247cc9876c433144b1fea /skeletons
parent5ed3f6948c0503c641d83a44aefa640dd5d3f58b (diff)
aper: fixup after port
Diffstat (limited to 'skeletons')
-rw-r--r--skeletons/INTEGER.c6
1 files 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;