diff options
author | Loïc Hoguin <[email protected]> | 2012-08-27 12:16:07 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2012-08-27 12:16:07 +0200 |
commit | a5e75219f0bb9602178314a00eb9e0f9c22bcac6 (patch) | |
tree | d09cce41044ae6d6995a92b2a24126451925f0a6 /src/cowboy_http_protocol.erl | |
parent | e4124de2c71564d37b3732ede0fe1542de1d6f99 (diff) | |
download | cowboy-a5e75219f0bb9602178314a00eb9e0f9c22bcac6.tar.gz cowboy-a5e75219f0bb9602178314a00eb9e0f9c22bcac6.tar.bz2 cowboy-a5e75219f0bb9602178314a00eb9e0f9c22bcac6.zip |
Have only one -export and -export_type per line
This should make easier spotting additions and removals in commits.
Diffstat (limited to 'src/cowboy_http_protocol.erl')
-rw-r--r-- | src/cowboy_http_protocol.erl | 11 |
1 files changed, 8 insertions, 3 deletions
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. |