diff options
Diffstat (limited to 'src/cowboy_sup.erl')
-rw-r--r-- | src/cowboy_sup.erl | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/cowboy_sup.erl b/src/cowboy_sup.erl index 21e1810..d9d7878 100644 --- a/src/cowboy_sup.erl +++ b/src/cowboy_sup.erl @@ -12,25 +12,15 @@ %% ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF %% OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -%% @private -module(cowboy_sup). -behaviour(supervisor). -%% API. -export([start_link/0]). - -%% supervisor. -export([init/1]). --define(SUPERVISOR, ?MODULE). - -%% API. - -spec start_link() -> {ok, pid()}. start_link() -> - supervisor:start_link({local, ?SUPERVISOR}, ?MODULE, []). - -%% supervisor. + supervisor:start_link({local, ?MODULE}, ?MODULE, []). init([]) -> Procs = [{cowboy_clock, {cowboy_clock, start_link, []}, |