Fix some dialyzer issues

This commit is contained in:
Carlos Martín Nieto
2013-08-09 23:30:22 +02:00
parent bb35fce5cc
commit 3a7d37bec8
3 changed files with 7 additions and 4 deletions

View File

@@ -11,7 +11,7 @@
-behaviour(gen_server).
%% API
-export([start_link/1, exists/2, write/3]).
-export([start_link/1, exists/2, write/3, stop/1]).
%% gen_server callbacks
-export([init/1, handle_call/3, handle_cast/2, handle_info/2,
@@ -25,6 +25,9 @@
%%% API
%%%===================================================================
stop(Pid) ->
gen_server:call(Pid, stop).
%% @doc
%% Starts the server
-spec start_link(term()) -> {ok, pid()} | ignore | {error, term()}.