From d9212c21ddee1d38a575ab74ad470e43e9b883fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 27 Feb 2012 08:07:03 +0100 Subject: Remove the redundant include/ from -include("http.hrl") --- src/cowboy_http.erl | 1 - src/cowboy_http_protocol.erl | 2 +- src/cowboy_http_req.erl | 2 +- src/cowboy_http_rest.erl | 2 +- src/cowboy_http_websocket.erl | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) (limited to 'src') 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. -- cgit v1.2.3