summaryrefslogtreecommitdiff
path: root/src/plop.erl
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2014-05-04 10:12:44 +0200
committerLinus Nordberg <linus@nordu.net>2014-05-04 10:12:44 +0200
commitb95fac93ba4bcdfcff7a18718eb587593660bb6c (patch)
tree202328754b1af6bfc5e4fda768e0739ee9c35d22 /src/plop.erl
parent69e5511b4ede55a1ab856a74ba1cf59c05a0f9f4 (diff)
Remove start_link/0.
I.e. require arguments to always be passed.
Diffstat (limited to 'src/plop.erl')
-rw-r--r--src/plop.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plop.erl b/src/plop.erl
index 91e84a4..14d39b1 100644
--- a/src/plop.erl
+++ b/src/plop.erl
@@ -12,7 +12,7 @@
-behaviour(gen_server).
%% API.
--export([start_link/0, start_link/2, stop/0]).
+-export([start_link/2, stop/0]).
-export([add/1, sth/0]).
%% API for tests.
-export([sth/1]).
@@ -36,8 +36,6 @@
logid :: binary(),
hashtree :: ht:head()}).
-start_link() ->
- start_link(?TESTPRIVKEYFILE, ?TESTPUBKEYFILE). % FIXME: Remove.
start_link(Keyfile, Passphrase) ->
gen_server:start_link({local, ?MODULE}, ?MODULE, [Keyfile, Passphrase], []).