aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2017-04-06 16:09:38 +0200
committerRaimo Niskanen <[email protected]>2017-04-20 15:51:26 +0200
commitd30cae56d82763681b633cba25ad553eb672ec16 (patch)
treed54c1ae6f5a7535e01f4085e9d743309ae47ddeb /lib/stdlib/src
parent8caa54fc05e381a3d321cd48770e48853ddb177a (diff)
downloadotp-d30cae56d82763681b633cba25ad553eb672ec16.tar.gz
otp-d30cae56d82763681b633cba25ad553eb672ec16.tar.bz2
otp-d30cae56d82763681b633cba25ad553eb672ec16.zip
Make Module:init/1 mandatory
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r--lib/stdlib/src/gen_statem.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/stdlib/src/gen_statem.erl b/lib/stdlib/src/gen_statem.erl
index cacc932ec4..242ff87be7 100644
--- a/lib/stdlib/src/gen_statem.erl
+++ b/lib/stdlib/src/gen_statem.erl
@@ -287,8 +287,7 @@
StatusOption :: 'normal' | 'terminate'.
-optional_callbacks(
- [init/1, % One may use enter_loop/5,6,7 instead
- format_status/2, % Has got a default implementation
+ [format_status/2, % Has got a default implementation
terminate/3, % Has got a default implementation
code_change/4, % Only needed by advanced soft upgrade
%%