diff options
author | Micael Karlberg <bmk@erlang.org> | 2020-10-21 18:52:09 +0200 |
---|---|---|
committer | Micael Karlberg <bmk@erlang.org> | 2020-10-21 18:52:09 +0200 |
commit | 5853fd207e5e56ceb5a8664fb4935ab5d335ac38 (patch) | |
tree | c04cbdba5c89167e54cadf06fa0c3fdace0a0fd2 /lib/kernel/src/inet_res.erl | |
parent | c09e1d34476dd6dc5814fa6e971488bf9e85e862 (diff) | |
download | erlang-5853fd207e5e56ceb5a8664fb4935ab5d335ac38.tar.gz |
[kernel] Add export clause for some types
The types res_option, res_error/0 and nameserver are
now exported.
OTP-16954
Diffstat (limited to 'lib/kernel/src/inet_res.erl')
-rw-r--r-- | lib/kernel/src/inet_res.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/kernel/src/inet_res.erl b/lib/kernel/src/inet_res.erl index 7886ef83ac..d93d2b3c96 100644 --- a/lib/kernel/src/inet_res.erl +++ b/lib/kernel/src/inet_res.erl @@ -37,6 +37,10 @@ -export([nslookup/3, nslookup/4]). -export([nnslookup/4, nnslookup/5]). +-export_type([res_option/0, + res_error/0, + nameserver/0]). + -include_lib("kernel/include/inet.hrl"). -include("inet_res.hrl"). -include("inet_dns.hrl"). |