From 3cbff94709e32fa1b2fe80239b832757ae1c1c90 Mon Sep 17 00:00:00 2001 From: Jesper Louis Andersen Date: Tue, 25 Nov 2014 14:12:54 +0100 Subject: [PATCH] Clean up: remove the application module which we don't need for a library. This is not like the `crypto` subsystem, where a runner is needed to keep the crypto system up and running. Rather, we can run without an application runner. --- src/enacl.app.src | 1 - src/enacl_app.erl | 10 ---------- src/enacl_nif.erl | 1 + 3 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 src/enacl_app.erl diff --git a/src/enacl.app.src b/src/enacl.app.src index c7053df..e107520 100644 --- a/src/enacl.app.src +++ b/src/enacl.app.src @@ -4,6 +4,5 @@ {vsn, "0.0.1"}, {registered, []}, {applications, [kernel, stdlib]}, - {mod, {enacl_app, []}}, {env, []} ]}. diff --git a/src/enacl_app.erl b/src/enacl_app.erl deleted file mode 100644 index 65711ac..0000000 --- a/src/enacl_app.erl +++ /dev/null @@ -1,10 +0,0 @@ --module(enacl_app). --behaviour(application). - --export([start/2, stop/1]). - -start(_StartType, _StartArgs) -> - enacl_sup:start_link(). - -stop(_State) -> - ok. diff --git a/src/enacl_nif.erl b/src/enacl_nif.erl index 16ebc43..eb0fe9f 100644 --- a/src/enacl_nif.erl +++ b/src/enacl_nif.erl @@ -1,5 +1,6 @@ %%% @doc module enacl_nif provides the low-level interface to the NaCl/Sodium NIFs. %%% @end +%%% @private -module(enacl_nif). %% Public key auth