diff options
author | Loïc Hoguin <[email protected]> | 2012-02-27 08:07:03 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2012-02-27 08:07:03 +0100 |
commit | d9212c21ddee1d38a575ab74ad470e43e9b883fc (patch) | |
tree | 6c8fb66aa63b8222427a32469f18ac419be9ffa4 | |
parent | ac1424fd6ab75f8a24ae58b8d227cf8fe5da8e4e (diff) | |
download | cowboy-d9212c21ddee1d38a575ab74ad470e43e9b883fc.tar.gz cowboy-d9212c21ddee1d38a575ab74ad470e43e9b883fc.tar.bz2 cowboy-d9212c21ddee1d38a575ab74ad470e43e9b883fc.zip |
Remove the redundant include/ from -include("http.hrl")
-rw-r--r-- | src/cowboy_http.erl | 1 | ||||
-rw-r--r-- | src/cowboy_http_protocol.erl | 2 | ||||
-rw-r--r-- | src/cowboy_http_req.erl | 2 | ||||
-rw-r--r-- | src/cowboy_http_rest.erl | 2 | ||||
-rw-r--r-- | src/cowboy_http_websocket.erl | 2 |
5 files changed, 4 insertions, 5 deletions
diff --git a/src/cowboy_http.erl b/src/cowboy_http.erl index 93b83e5..7a3bc7a 100644 --- a/src/cowboy_http.erl +++ b/src/cowboy_http.erl @@ -51,7 +51,6 @@ -export_type([method/0, uri/0, version/0, header/0, headers/0, status/0]). --include("include/http.hrl"). -include_lib("eunit/include/eunit.hrl"). %% Parsing. diff --git a/src/cowboy_http_protocol.erl b/src/cowboy_http_protocol.erl index d7ba508..71518fa 100644 --- a/src/cowboy_http_protocol.erl +++ b/src/cowboy_http_protocol.erl @@ -38,7 +38,7 @@ -export([start_link/4]). %% API. -export([init/4, parse_request/1, handler_loop/3]). %% FSM. --include("include/http.hrl"). +-include("http.hrl"). -include_lib("eunit/include/eunit.hrl"). -record(state, { diff --git a/src/cowboy_http_req.erl b/src/cowboy_http_req.erl index dd8e5ca..25c5a58 100644 --- a/src/cowboy_http_req.erl +++ b/src/cowboy_http_req.erl @@ -50,7 +50,7 @@ compact/1, transport/1 ]). %% Misc API. --include("include/http.hrl"). +-include("http.hrl"). %% Request API. diff --git a/src/cowboy_http_rest.erl b/src/cowboy_http_rest.erl index 8f14388..ee67b36 100644 --- a/src/cowboy_http_rest.erl +++ b/src/cowboy_http_rest.erl @@ -46,7 +46,7 @@ expires :: undefined | no_call | calendar:datetime() }). --include("include/http.hrl"). +-include("http.hrl"). %% @doc Upgrade a HTTP request to the REST protocol. %% diff --git a/src/cowboy_http_websocket.erl b/src/cowboy_http_websocket.erl index ec75571..a926261 100644 --- a/src/cowboy_http_websocket.erl +++ b/src/cowboy_http_websocket.erl @@ -40,7 +40,7 @@ -export([upgrade/4]). %% API. -export([handler_loop/4]). %% Internal. --include("include/http.hrl"). +-include("http.hrl"). -include_lib("eunit/include/eunit.hrl"). -type opcode() :: 0 | 1 | 2 | 8 | 9 | 10. |