Permalink
Browse files

Use include instead of include_lib for local include files.

  • Loading branch information...
1 parent ac7b656 commit ab29a5d84254193706a09cd6705a0c3b71a59bfa @seancribbs seancribbs committed Feb 6, 2012
@@ -63,7 +63,7 @@
-module(riak_core_coverage_fsm).
-author('Kelly McLaughlin <kelly@basho.com>').
--include_lib("riak_core_vnode.hrl").
+-include("riak_core_vnode.hrl").
-behaviour(gen_fsm).
View
@@ -41,7 +41,7 @@
recursive_gossip/1, random_recursive_gossip/1, rejoin/2,
gossip_version/0, legacy_gossip/0, legacy_gossip/1]).
--include_lib("riak_core_ring.hrl").
+-include("riak_core_ring.hrl").
-ifdef(TEST).
-include_lib("eunit/include/eunit.hrl").
@@ -38,7 +38,7 @@
terminate/2, code_change/3]).
-export ([distribute_ring/1, send_ring/1, send_ring/2, remove_from_cluster/1]).
--include_lib("riak_core_ring.hrl").
+-include("riak_core_ring.hrl").
-ifdef(TEST).
-include_lib("eunit/include/eunit.hrl").
@@ -40,8 +40,11 @@
kill_handoffs/0
]).
--include_lib("riak_core/include/riak_core_handoff.hrl").
+-include("riak_core_handoff.hrl").
+
+-ifdef(TEST).
-include_lib("eunit/include/eunit.hrl").
+-endif.
-type mod() :: atom().
-type index() :: integer().
@@ -23,7 +23,7 @@
%% @doc incoming data handler for TCP-based handoff
-module(riak_core_handoff_receiver).
--include_lib("riak_core_handoff.hrl").
+-include("riak_core_handoff.hrl").
-behaviour(gen_server2).
-export([start_link/0, % Don't use SSL
start_link/1, % SSL options list, empty=no SSL
@@ -24,8 +24,8 @@
-module(riak_core_handoff_sender).
-export([start_link/4, get_handoff_ssl_options/0]).
--include_lib("riak_core_vnode.hrl").
--include_lib("riak_core_handoff.hrl").
+-include("riak_core_vnode.hrl").
+-include("riak_core_handoff.hrl").
-define(ACK_COUNT, 1000).
start_link(TargetNode, Module, Partition, VnodePid) ->
View
@@ -18,7 +18,7 @@
%% -------------------------------------------------------------------
-module('riak_core_vnode').
-behaviour(gen_fsm).
--include_lib("riak_core_vnode.hrl").
+-include("riak_core_vnode.hrl").
-export([behaviour_info/1]).
-export([start_link/3,
start_link/4,
@@ -23,7 +23,7 @@
%% @doc dispatch to vnodes
-module(riak_core_vnode_master).
--include_lib("riak_core_vnode.hrl").
+-include("riak_core_vnode.hrl").
-behaviour(gen_server).
-export([start_link/1, start_link/2, get_vnode_pid/2,
start_vnode/2, command/3, command/4, sync_command/3,

0 comments on commit ab29a5d

Please sign in to comment.