aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZandra Hird <[email protected]>2015-02-20 09:54:34 +0100
committerZandra Hird <[email protected]>2015-02-20 09:54:34 +0100
commit42db5701f3cd4fc3685e7be9cd7f66f856890e0a (patch)
tree16d2391cb00ce2aceedb606de3c2e27813b6cdbf
parent1187c9520fbb29db5d9d9bd6c56d8ff51843eb01 (diff)
parent9f81ad09120a53da01e9f03a2792c75688253ea5 (diff)
downloadotp-42db5701f3cd4fc3685e7be9cd7f66f856890e0a.tar.gz
otp-42db5701f3cd4fc3685e7be9cd7f66f856890e0a.tar.bz2
otp-42db5701f3cd4fc3685e7be9cd7f66f856890e0a.zip
Merge branch 'ethercrow/export_gen_udp_socket' into maint
* ethercrow/export_gen_udp_socket: Export type gen_udp:socket/0
-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(),