aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/gen_udp.erl
diff options
context:
space:
mode:
authorDmitry Ivanov <[email protected]>2015-01-18 10:24:55 +0600
committerDmitry Ivanov <[email protected]>2015-01-19 13:42:00 +0600
commit9f81ad09120a53da01e9f03a2792c75688253ea5 (patch)
treebc9cc651241b4d8561317d86d63f3c6084c21721 /lib/kernel/src/gen_udp.erl
parent50a92094372b45c9864afe3418b79605da549122 (diff)
downloadotp-9f81ad09120a53da01e9f03a2792c75688253ea5.tar.gz
otp-9f81ad09120a53da01e9f03a2792c75688253ea5.tar.bz2
otp-9f81ad09120a53da01e9f03a2792c75688253ea5.zip
Export type gen_udp:socket/0
Diffstat (limited to 'lib/kernel/src/gen_udp.erl')
-rw-r--r--lib/kernel/src/gen_udp.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/src/gen_udp.erl b/lib/kernel/src/gen_udp.erl
index 70dceb3679..860eec10a0 100644
--- a/lib/kernel/src/gen_udp.erl
+++ b/lib/kernel/src/gen_udp.erl
@@ -78,7 +78,7 @@
ipv6_v6only.
-type socket() :: port().
--export_type([option/0, option_name/0]).
+-export_type([option/0, option_name/0, socket/0]).
-spec open(Port) -> {ok, Socket} | {error, Reason} when
Port :: inet:port_number(),