From a5e75219f0bb9602178314a00eb9e0f9c22bcac6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 27 Aug 2012 12:16:07 +0200 Subject: Have only one -export and -export_type per line This should make easier spotting additions and removals in commits. --- src/cowboy_http_protocol.erl | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/cowboy_http_protocol.erl') diff --git a/src/cowboy_http_protocol.erl b/src/cowboy_http_protocol.erl index d65127d..5ef76be 100644 --- a/src/cowboy_http_protocol.erl +++ b/src/cowboy_http_protocol.erl @@ -34,8 +34,13 @@ %% @see cowboy_http_handler -module(cowboy_http_protocol). --export([start_link/4]). %% API. --export([init/4, parse_request/1, handler_loop/3]). %% FSM. +%% API. +-export([start_link/4]). + +%% Internal. +-export([init/4]). +-export([parse_request/1]). +-export([handler_loop/3]). -include("http.hrl"). -include_lib("eunit/include/eunit.hrl"). @@ -70,7 +75,7 @@ start_link(ListenerPid, Socket, Transport, Opts) -> Pid = spawn_link(?MODULE, init, [ListenerPid, Socket, Transport, Opts]), {ok, Pid}. -%% FSM. +%% Internal. %% @private -spec init(pid(), inet:socket(), module(), any()) -> ok. -- cgit v1.2.3