aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/src/mnesia.app.src
diff options
context:
space:
mode:
authorRichard Carlsson <[email protected]>2016-10-29 16:23:09 +0200
committerRichard Carlsson <[email protected]>2016-10-29 16:23:09 +0200
commitcd8438832471e7444eec7b78cd1aaee6779cc28a (patch)
tree527d879440a9b8bb94e611a40020826cb39e5b45 /lib/mnesia/src/mnesia.app.src
parentc49194c9239c0dcad17b902b6638edf53bb69c6c (diff)
downloadotp-cd8438832471e7444eec7b78cd1aaee6779cc28a.tar.gz
otp-cd8438832471e7444eec7b78cd1aaee6779cc28a.tar.bz2
otp-cd8438832471e7444eec7b78cd1aaee6779cc28a.zip
Make a separate application module for Mnesia
To separate concerns and reduce confusion, avoid implementing two behaviours in a single module. Make a single start_link() helper in mnesia_sup and remove the unused mnesia_sup:start() utility function.
Diffstat (limited to 'lib/mnesia/src/mnesia.app.src')
-rw-r--r--lib/mnesia/src/mnesia.app.src5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/mnesia/src/mnesia.app.src b/lib/mnesia/src/mnesia.app.src
index 006ad4bac1..af14826c90 100644
--- a/lib/mnesia/src/mnesia.app.src
+++ b/lib/mnesia/src/mnesia.app.src
@@ -3,6 +3,7 @@
{vsn, "%VSN%"},
{modules, [
mnesia,
+ mnesia_app,
mnesia_backend_type,
mnesia_backup,
mnesia_bup,
@@ -49,7 +50,5 @@
mnesia_tm
]},
{applications, [kernel, stdlib]},
- {mod, {mnesia_sup, []}},
+ {mod, {mnesia_app, []}},
{runtime_dependencies, ["stdlib-2.0","kernel-3.0","erts-7.0"]}]}.
-
-