aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2017-07-21 09:33:15 +0200
committerRaimo Niskanen <[email protected]>2017-07-21 09:33:15 +0200
commitb7b813998b13af831289687a3c7c324b6c42460c (patch)
treee3f2a3e9b9c704663ae454418f7acb03c8e80bd4 /lib/kernel/src
parentc2b9a8feea68b630505d7794713fa071fee734d2 (diff)
parentb3a617b7398603c047204fb17198657a626a0f90 (diff)
downloadotp-b7b813998b13af831289687a3c7c324b6c42460c.tar.gz
otp-b7b813998b13af831289687a3c7c324b6c42460c.tar.bz2
otp-b7b813998b13af831289687a3c7c324b6c42460c.zip
Merge branch 'raimo/kernel/fix-spec-for-inet-get_rc-0/ERL-454' into maint
* raimo/kernel/fix-spec-for-inet-get_rc-0/ERL-454: Improve spec and doc for inet:get_rc/0
Diffstat (limited to 'lib/kernel/src')
-rw-r--r--lib/kernel/src/inet.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/kernel/src/inet.erl b/lib/kernel/src/inet.erl
index 6aef5476f1..dc20c21c77 100644
--- a/lib/kernel/src/inet.erl
+++ b/lib/kernel/src/inet.erl
@@ -151,7 +151,8 @@
%%% ---------------------------------
--spec get_rc() -> [{Par :: any(), Val :: any()}].
+-spec get_rc() -> [{Par :: atom(), Val :: any()} |
+ {Par :: atom(), Val1 :: any(), Val2 :: any()}].
get_rc() ->
inet_db:get_rc().