aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src/asn1rt_ber_bin_v2.erl
diff options
context:
space:
mode:
authorLukas Larsson <lukas@erlang-solutions.com>2011-07-25 10:59:30 +0200
committerLukas Larsson <lukas@erlang-solutions.com>2011-08-02 14:43:29 +0200
commitd4c67f705a418ed02a7128ca74819cb995f27577 (patch)
treeea00a952fda848974e36831999547effe6c32871 /lib/asn1/src/asn1rt_ber_bin_v2.erl
parentb16af6d09ef2a5843e1fb491114906780f3f970d (diff)
downloadotp-d4c67f705a418ed02a7128ca74819cb995f27577.tar.gz
otp-d4c67f705a418ed02a7128ca74819cb995f27577.tar.bz2
otp-d4c67f705a418ed02a7128ca74819cb995f27577.zip
Remove some superflous includes which caused inlined modules to have lots of compile warnings
Diffstat (limited to 'lib/asn1/src/asn1rt_ber_bin_v2.erl')
-rw-r--r--lib/asn1/src/asn1rt_ber_bin_v2.erl6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/asn1/src/asn1rt_ber_bin_v2.erl b/lib/asn1/src/asn1rt_ber_bin_v2.erl
index bef2216091..17e66f77c9 100644
--- a/lib/asn1/src/asn1rt_ber_bin_v2.erl
+++ b/lib/asn1/src/asn1rt_ber_bin_v2.erl
@@ -56,8 +56,6 @@
-export([decode_primitive_incomplete/2,decode_selective/2]).
-export([is_nif_loadable/0]).
-
--include("asn1_records.hrl").
% the encoding of class of tag bits 8 and 7
-define(UNIVERSAL, 0).
@@ -1058,7 +1056,7 @@ encode_real(C,Val, TagIn) when is_tuple(Val); is_list(Val) ->
encode_real(C,Val) ->
- ?RT_COMMON:encode_real(C,Val).
+ asn1rt_ber_bin:encode_real(C,Val).
%%============================================================================
@@ -1083,7 +1081,7 @@ decode_real_notag(Buffer) ->
{_T,_V} ->
exit({error,{asn1,{real_not_in_primitive_form,Buffer}}})
end,
- {Val,_Rest,Len} = ?RT_COMMON:decode_real(Buffer,Len),
+ {Val,_Rest,Len} = asn1rt_ber_bin:decode_real(Buffer,Len),
Val.
%% exit({error,{asn1, {unimplemented,real}}}).
%% decode_real2(Buffer, Form, size(Buffer)).