aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src/asn1ct.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2014-02-20 14:29:57 +0100
committerBjörn Gustavsson <[email protected]>2014-02-21 12:20:39 +0100
commite5c71b7f176393cdb3f6b9d17a5969e9bd89c88b (patch)
tree0ae4680c17b76f776fdcaf33233a264503083a54 /lib/asn1/src/asn1ct.erl
parent687d9c05f94e807537ee397157b68653d1ddf231 (diff)
downloadotp-e5c71b7f176393cdb3f6b9d17a5969e9bd89c88b.tar.gz
otp-e5c71b7f176393cdb3f6b9d17a5969e9bd89c88b.tar.bz2
otp-e5c71b7f176393cdb3f6b9d17a5969e9bd89c88b.zip
Deprecate asn1 functions
Those asn1 functions are no longer needed because they all have better alternatives.
Diffstat (limited to 'lib/asn1/src/asn1ct.erl')
-rw-r--r--lib/asn1/src/asn1ct.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/asn1/src/asn1ct.erl b/lib/asn1/src/asn1ct.erl
index 30f493a2df..9ec43197bf 100644
--- a/lib/asn1/src/asn1ct.erl
+++ b/lib/asn1/src/asn1ct.erl
@@ -19,6 +19,10 @@
%%
%%
-module(asn1ct).
+-deprecated([decode/3,encode/3]).
+-compile([{nowarn_deprecated_function,{asn1rt,decode,3}},
+ {nowarn_deprecated_function,{asn1rt,encode,2}},
+ {nowarn_deprecated_function,{asn1rt,encode,3}}]).
%% Compile Time functions for ASN.1 (e.g ASN.1 compiler).