aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2011-05-24 12:35:39 +0200
committerHans Bolinder <[email protected]>2011-05-24 12:35:39 +0200
commit39cbb48b33c23dddfa4444c143d6da5b71dcb3f6 (patch)
tree62428e186c2652fc14266d83a67fb41cfc3d64ff
parent35978c047c6cd2758920b5d44937af66a3b0ea87 (diff)
downloadotp-39cbb48b33c23dddfa4444c143d6da5b71dcb3f6.tar.gz
otp-39cbb48b33c23dddfa4444c143d6da5b71dcb3f6.tar.bz2
otp-39cbb48b33c23dddfa4444c143d6da5b71dcb3f6.zip
Modify two opaque types
Two opaque types that could cause warnings when running Dialyzer have been modified.
-rw-r--r--lib/kernel/src/inet_res.erl2
-rw-r--r--lib/kernel/src/seq_trace.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/src/inet_res.erl b/lib/kernel/src/inet_res.erl
index 2276ddcd08..d1f5644ff7 100644
--- a/lib/kernel/src/inet_res.erl
+++ b/lib/kernel/src/inet_res.erl
@@ -71,7 +71,7 @@
-type dns_class() :: in | chaos | hs | any.
--opaque dns_msg() :: term().
+-type dns_msg() :: term().
-type dns_data() ::
dns_name()
diff --git a/lib/kernel/src/seq_trace.erl b/lib/kernel/src/seq_trace.erl
index ea5da2de1c..a90b7b07c8 100644
--- a/lib/kernel/src/seq_trace.erl
+++ b/lib/kernel/src/seq_trace.erl
@@ -45,7 +45,7 @@
%%---------------------------------------------------------------------------
--opaque token() :: {integer(), boolean(), _, _, _}.
+-type token() :: {integer(), boolean(), _, _, _}.
-spec set_token(Token) -> PreviousToken | 'ok' when
Token :: [] | token(),
PreviousToken :: [] | token().