aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2010-03-21 10:07:06 +0200
committerBjörn Gustavsson <[email protected]>2010-06-03 14:34:27 +0200
commitcafe056f56fef376b1721861cc39e957cfae3cb6 (patch)
treecea32adcaae1db681b6fe6d65fb6670bab042861
parent5279efdc73e6fdcc5916a6cf44194d1ced3af05e (diff)
downloadotp-cafe056f56fef376b1721861cc39e957cfae3cb6.tar.gz
otp-cafe056f56fef376b1721861cc39e957cfae3cb6.tar.bz2
otp-cafe056f56fef376b1721861cc39e957cfae3cb6.zip
Add declaration for exported types
-rw-r--r--lib/stdlib/src/supervisor.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/stdlib/src/supervisor.erl b/lib/stdlib/src/supervisor.erl
index 79bb810682..f5d5441184 100644
--- a/lib/stdlib/src/supervisor.erl
+++ b/lib/stdlib/src/supervisor.erl
@@ -33,6 +33,8 @@
-export([init/1, handle_call/3, handle_info/2, terminate/2, code_change/3]).
-export([handle_cast/2]).
+-export_type([child_spec/0, strategy/0]).
+
%%--------------------------------------------------------------------------
-type child_id() :: pid() | 'undefined'.