Browse Source

Add specs to record in pooler_starter

Seth Falcon 9 years ago
parent
commit
36dcb96e2b
1 changed files with 3 additions and 4 deletions
  1. 3 4
      src/pooler_starter.erl

+ 3 - 4
src/pooler_starter.erl

@@ -6,7 +6,6 @@
 -behaviour(gen_server).
 
 -include("pooler.hrl").
--include_lib("eunit/include/eunit.hrl").
 
 %% ------------------------------------------------------------------
 %% API Function Exports
@@ -84,9 +83,9 @@ stop_member_async(Pid) ->
 %% ------------------------------------------------------------------
 %% gen_server Function Definitions
 %% ------------------------------------------------------------------
--record(starter, {pool,
-                  parent,
-                  msg}).
+-record(starter, {pool :: #pool{},
+                  parent :: pid() | atom(),
+                  msg :: term()}).
 
 -spec init({#pool{}, pid() | atom()}) -> {'ok', #starter{}, 0}.
 init({Pool, Parent}) ->