Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix opaque type warnings on R16B. #71

Merged
merged 1 commit into from May 1, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions src/riak_pipe_builder.erl
Expand Up @@ -52,6 +52,7 @@
sinkmon :: reference()}). % monitor ref

-opaque state() :: #state{}.
-export_type([state/0]).

%%%===================================================================
%%% API
Expand Down
2 changes: 1 addition & 1 deletion src/riak_pipe_fitting.erl
Expand Up @@ -62,7 +62,7 @@

-opaque state() :: #state{}.

-export_type([details/0]).
-export_type([state/0, details/0]).
-type details() :: #fitting_details{}.

%%%===================================================================
Expand Down
1 change: 1 addition & 0 deletions src/riak_pipe_vnode.erl
Expand Up @@ -115,6 +115,7 @@
| #handoff{}}).

-opaque state() :: #state{}.
-export_type([state/0]).

-record(cmd_enqueue, {fitting :: #fitting{},
input :: term(),
Expand Down
1 change: 1 addition & 0 deletions src/riak_pipe_vnode_worker.erl
Expand Up @@ -161,6 +161,7 @@
vnode :: pid(),
modstate :: term()}).
-opaque state() :: #state{}.
-export_type([state/0]).

%% @doc Get information about this behavior.
-spec behaviour_info(atom()) -> 'undefined' | [{atom(), arity()}].
Expand Down
1 change: 1 addition & 0 deletions src/riak_pipe_w_crash.erl
Expand Up @@ -33,6 +33,7 @@
-record(state, {p :: riak_pipe_vnode:partition(),
fd :: riak_pipe_fitting:details()}).
-opaque state() :: #state{}.
-export_type([state/0]).

%% name of the table reMEMbering restarts
-define(MEM, ?MODULE).
Expand Down
1 change: 1 addition & 0 deletions src/riak_pipe_w_fwd.erl
Expand Up @@ -35,6 +35,7 @@

-record(state, {fd :: riak_pipe_fitting:details()}).
-opaque state() :: #state{}.
-export_type([state/0]).

%% @doc Initialization just stows the fitting details in the module's
%% state, for sending traces in {@link process/3}.
Expand Down
1 change: 1 addition & 0 deletions src/riak_pipe_w_pass.erl
Expand Up @@ -35,6 +35,7 @@
-record(state, {p :: riak_pipe_vnode:partition(),
fd :: riak_pipe_fitting:details()}).
-opaque state() :: #state{}.
-export_type([state/0]).

%% @doc Initialization just stows the partition and fitting details in
%% the module's state, for sending outputs in {@link process/3}.
Expand Down
1 change: 1 addition & 0 deletions src/riak_pipe_w_rec_countdown.erl
Expand Up @@ -81,6 +81,7 @@
-record(state, {p :: riak_pipe_vnode:partition(),
fd :: riak_pipe_fitting:details()}).
-opaque state() :: #state{}.
-export_type([state/0]).

%% @doc Initialization just stows the partition and fitting details in
%% the module's state, for sending outputs in {@link process/3}.
Expand Down
1 change: 1 addition & 0 deletions src/riak_pipe_w_reduce.erl
Expand Up @@ -93,6 +93,7 @@
p :: riak_pipe_vnode:partition(),
fd :: riak_pipe_fitting:details()}).
-opaque state() :: #state{}.
-export_type([state/0]).

%% @doc Setup creates the store for evaluation results (a dict()) and
%% stashes away the `Partition' and `FittingDetails' for later.
Expand Down
1 change: 1 addition & 0 deletions src/riak_pipe_w_tee.erl
Expand Up @@ -38,6 +38,7 @@
-record(state, {p :: riak_pipe_vnode:partition(),
fd :: riak_pipe_fitting:details()}).
-opaque state() :: #state{}.
-export_type([state/0]).

%% @doc Init just stashes the `Partition' and `FittingDetails' for later.
-spec init(riak_pipe_vnode:partition(), riak_pipe_fitting:details()) ->
Expand Down
1 change: 1 addition & 0 deletions src/riak_pipe_w_xform.erl
Expand Up @@ -55,6 +55,7 @@
-record(state, {p :: riak_pipe_vnode:partition(),
fd :: riak_pipe_fitting:details()}).
-opaque state() :: #state{}.
-export_type([state/0]).

%% @doc Init just stashes the `Partition' and `FittingDetails' for later.
-spec init(riak_pipe_vnode:partition(), riak_pipe_fitting:details()) ->
Expand Down