diff options
author | juhlig <[email protected]> | 2019-06-24 13:18:31 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-07-01 13:20:43 +0200 |
commit | 37e64f50df640803625771bc3655b6db6c351493 (patch) | |
tree | 63a5d6160295bfca0197193cdeeb2fddd11b9be2 /src/ranch_app.erl | |
parent | e8d6401741021f76988091e6dc633afb65ffbe7b (diff) | |
download | ranch-37e64f50df640803625771bc3655b6db6c351493.tar.gz ranch-37e64f50df640803625771bc3655b6db6c351493.tar.bz2 ranch-37e64f50df640803625771bc3655b6db6c351493.zip |
Add missing specs
Diffstat (limited to 'src/ranch_app.erl')
-rw-r--r-- | src/ranch_app.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ranch_app.erl b/src/ranch_app.erl index 8ac470e..e65db48 100644 --- a/src/ranch_app.erl +++ b/src/ranch_app.erl @@ -19,10 +19,12 @@ -export([stop/1]). -export([profile_output/0]). +-spec start(application:start_type(), term()) -> {ok, pid()} | {error, term()}. start(_, _) -> _ = consider_profiling(), ranch_sup:start_link(). +-spec stop(term()) -> ok. stop(_) -> ok. |