do not use reserved identifiers, contd
diff --git a/skeletons/UTCTime.c b/skeletons/UTCTime.c
index edcbaf1..3983d76 100644
--- a/skeletons/UTCTime.c
+++ b/skeletons/UTCTime.c
@@ -13,7 +13,7 @@
#include <time.h>
#endif /* __CYGWIN__ */
-#ifndef __ASN_INTERNAL_TEST_MODE__
+#ifndef ASN___INTERNAL_TEST_MODE
/*
* UTCTime basic type description.
@@ -52,7 +52,7 @@
0 /* No specifics */
};
-#endif /* __ASN_INTERNAL_TEST_MODE__ */
+#endif /* ASN___INTERNAL_TEST_MODE */
/*
* Check that the time looks like the time.
@@ -66,7 +66,7 @@
errno = EPERM; /* Just an unlikely error code */
tloc = asn_UT2time(st, 0, 0);
if(tloc == -1 && errno != EPERM) {
- _ASN_CTFAIL(app_key, td, sptr,
+ ASN__CTFAIL(app_key, td, sptr,
"%s: Invalid time format: %s (%s:%d)",
td->name, strerror(errno), __FILE__, __LINE__);
return -1;
@@ -75,7 +75,7 @@
return 0;
}
-#ifndef __ASN_INTERNAL_TEST_MODE__
+#ifndef ASN___INTERNAL_TEST_MODE
asn_enc_rval_t
UTCTime_encode_xer(asn_TYPE_descriptor_t *td, void *sptr,
@@ -90,11 +90,11 @@
errno = EPERM;
if(asn_UT2time((UTCTime_t *)sptr, &tm, 1) == -1
&& errno != EPERM)
- _ASN_ENCODE_FAILED;
+ ASN__ENCODE_FAILED;
/* Fractions are not allowed in UTCTime */
ut = asn_time2GT(0, 0, 1);
- if(!ut) _ASN_ENCODE_FAILED;
+ if(!ut) ASN__ENCODE_FAILED;
rv = OCTET_STRING_encode_xer_utf8(td, sptr, ilevel, flags,
cb, app_key);
@@ -106,7 +106,7 @@
}
}
-#endif /* __ASN_INTERNAL_TEST_MODE__ */
+#endif /* ASN___INTERNAL_TEST_MODE */
int
UTCTime_print(asn_TYPE_descriptor_t *td, const void *sptr, int ilevel,