From 37e64f50df640803625771bc3655b6db6c351493 Mon Sep 17 00:00:00 2001 From: juhlig Date: Mon, 24 Jun 2019 13:18:31 +0200 Subject: Add missing specs --- src/ranch_conns_sup.erl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ranch_conns_sup.erl') diff --git a/src/ranch_conns_sup.erl b/src/ranch_conns_sup.erl index 9307878..a585e3f 100644 --- a/src/ranch_conns_sup.erl +++ b/src/ranch_conns_sup.erl @@ -306,6 +306,7 @@ wait_children(NbChildren) -> ok end. +-spec system_continue(_, _, any()) -> no_return(). system_continue(_, _, {State, CurConns, NbChildren, Sleepers}) -> loop(State, CurConns, NbChildren, Sleepers). @@ -313,6 +314,7 @@ system_continue(_, _, {State, CurConns, NbChildren, Sleepers}) -> system_terminate(Reason, _, _, {State, _, NbChildren, _}) -> terminate(State, Reason, NbChildren). +-spec system_code_change(any(), _, _, _) -> {ok, any()}. system_code_change(Misc, _, _, _) -> {ok, Misc}. -- cgit v1.2.3