diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-07-05 15:49:43 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-08-12 01:24:04 -0400 |
commit | f03a4121b8f22997108ba75b0e130f3731d76c48 (patch) | |
tree | b262d91b5fa3ea7189c1227aaf3e2922b0779346 | |
parent | 6860b77ba628911a658fe3b4cb49529c293968e9 (diff) |
more cleanup of the includes
-rw-r--r-- | include/mem3.hrl | 2 | ||||
-rw-r--r-- | src/mem3_cache.erl | 1 | ||||
-rw-r--r-- | src/mem3_httpd.erl | 1 | ||||
-rw-r--r-- | src/mem3_nodes.erl | 1 | ||||
-rw-r--r-- | src/mem3_sync.erl | 1 | ||||
-rw-r--r-- | src/mem3_util.erl | 1 |
6 files changed, 5 insertions, 2 deletions
diff --git a/include/mem3.hrl b/include/mem3.hrl index 346d3e3e..f6584f19 100644 --- a/include/mem3.hrl +++ b/include/mem3.hrl @@ -1,5 +1,3 @@ --include_lib("couch/include/couch_db.hrl"). - -record(shard, {name, node, dbname, range, ref}). %% types diff --git a/src/mem3_cache.erl b/src/mem3_cache.erl index 38cc57ef..2a29ca4c 100644 --- a/src/mem3_cache.erl +++ b/src/mem3_cache.erl @@ -8,6 +8,7 @@ -record(state, {changes_pid}). -include("mem3.hrl"). +-include_lib("couch/include/couch_db.hrl"). start_link() -> gen_server:start_link({local, ?MODULE}, ?MODULE, [], []). diff --git a/src/mem3_httpd.erl b/src/mem3_httpd.erl index 2b29b488..4b4f8496 100644 --- a/src/mem3_httpd.erl +++ b/src/mem3_httpd.erl @@ -4,6 +4,7 @@ %% includes -include("mem3.hrl"). +-include_lib("couch/include/couch_db.hrl"). handle_membership_req(#httpd{method='GET', diff --git a/src/mem3_nodes.erl b/src/mem3_nodes.erl index 9b3f32f3..0214ed03 100644 --- a/src/mem3_nodes.erl +++ b/src/mem3_nodes.erl @@ -6,6 +6,7 @@ -export([start_link/0, get_nodelist/0]). -include("mem3.hrl"). +-include_lib("couch/include/couch_db.hrl"). -record(state, {changes_pid, update_seq, nodes}). diff --git a/src/mem3_sync.erl b/src/mem3_sync.erl index f011b008..140675f7 100644 --- a/src/mem3_sync.erl +++ b/src/mem3_sync.erl @@ -6,6 +6,7 @@ -export([start_link/0, get_active/0, get_queue/0, push/2, remove_node/1]). -include("mem3.hrl"). +-include_lib("couch/include/couch_db.hrl"). -record(state, { active = [], diff --git a/src/mem3_util.erl b/src/mem3_util.erl index aa43fd88..f6fad76a 100644 --- a/src/mem3_util.erl +++ b/src/mem3_util.erl @@ -7,6 +7,7 @@ -define(RINGTOP, 2 bsl 31). % CRC32 space -include("mem3.hrl"). +-include_lib("couch/include/couch_db.hrl"). hash(Item) when is_binary(Item) -> erlang:crc32(Item); |