Permalink
Browse files

fix includes for edoc

edoc couldn't find include_lib(include/FILE.hrl), but seems to have no
trouble with include(FILE.hrl)
  • Loading branch information...
1 parent d335852 commit 0d04983a0cb9145e336bcf6f0abd134015885a54 Bryan Fink committed May 9, 2011
Showing with 9 additions and 9 deletions.
  1. +2 −2 src/webmachine.erl
  2. +2 −2 src/webmachine_request.erl
  3. +2 −2 src/webmachine_resource.erl
  4. +1 −1 src/wmtrace_resource.erl
  5. +2 −2 src/wrq.erl
View
4 src/webmachine.erl
@@ -21,8 +21,8 @@
-export([new_request/2]).
-include("webmachine_logger.hrl").
--include_lib("include/wm_reqstate.hrl").
--include_lib("include/wm_reqdata.hrl").
+-include("wm_reqstate.hrl").
+-include("wm_reqdata.hrl").
%% @spec start() -> ok
%% @doc Start the webmachine server.
View
4 src/webmachine_request.erl
@@ -76,8 +76,8 @@
]).
-include("webmachine_logger.hrl").
--include_lib("include/wm_reqstate.hrl").
--include_lib("include/wm_reqdata.hrl").
+-include("wm_reqstate.hrl").
+-include("wm_reqdata.hrl").
-include_lib("mochiweb/include/internal.hrl").
-define(WMVSN, "1.7.3").
View
4 src/webmachine_resource.erl
@@ -20,8 +20,8 @@
-export([wrap/2]).
-export([do/2,log_d/1,stop/0]).
--include_lib("include/wm_reqdata.hrl").
--include_lib("include/wm_reqstate.hrl").
+-include("wm_reqdata.hrl").
+-include("wm_reqstate.hrl").
default(ping) ->
no_default;
View
2 src/wmtrace_resource.erl
@@ -14,7 +14,7 @@
produce_map/2,
produce_css/2]).
--include("include/wm_reqdata.hrl").
+-include("wm_reqdata.hrl").
-record(ctx, {trace_dir, trace}).
View
4 src/wrq.erl
@@ -31,8 +31,8 @@
add_note/3, get_notes/1]).
% @type reqdata(). The opaque data type used for req/resp data structures.
--include_lib("include/wm_reqdata.hrl").
--include_lib("include/wm_reqstate.hrl").
+-include("wm_reqdata.hrl").
+-include("wm_reqstate.hrl").
create(Method,Version,RawPath,Headers) ->

0 comments on commit 0d04983

Please sign in to comment.