diff options
author | Hans Bolinder <[email protected]> | 2011-05-24 12:35:39 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2011-05-24 12:35:39 +0200 |
commit | 39cbb48b33c23dddfa4444c143d6da5b71dcb3f6 (patch) | |
tree | 62428e186c2652fc14266d83a67fb41cfc3d64ff /lib | |
parent | 35978c047c6cd2758920b5d44937af66a3b0ea87 (diff) | |
download | otp-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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/kernel/src/inet_res.erl | 2 | ||||
-rw-r--r-- | lib/kernel/src/seq_trace.erl | 2 |
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(). |