diff options
author | Richard Carlsson <[email protected]> | 2018-05-23 11:56:20 +0200 |
---|---|---|
committer | Richard Carlsson <[email protected]> | 2018-05-23 13:33:04 +0200 |
commit | 8ee40e75ed85eb1207e6183e80f2b57f27d3894d (patch) | |
tree | 94c053677ff33f6587e5c1870ec5245d7caccf13 /erts/preloaded/src/otp_ring0.erl | |
parent | 65e004deb529e71af6e1eec69ebcd6d81fcc884b (diff) | |
download | otp-8ee40e75ed85eb1207e6183e80f2b57f27d3894d.tar.gz otp-8ee40e75ed85eb1207e6183e80f2b57f27d3894d.tar.bz2 otp-8ee40e75ed85eb1207e6183e80f2b57f27d3894d.zip |
Drop otp_ring0, using erl_init instead
Diffstat (limited to 'erts/preloaded/src/otp_ring0.erl')
-rw-r--r-- | erts/preloaded/src/otp_ring0.erl | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/erts/preloaded/src/otp_ring0.erl b/erts/preloaded/src/otp_ring0.erl deleted file mode 100644 index 62a60fffe2..0000000000 --- a/erts/preloaded/src/otp_ring0.erl +++ /dev/null @@ -1,37 +0,0 @@ -%% -%% %CopyrightBegin% -%% -%% Copyright Ericsson AB 2000-2016. All Rights Reserved. -%% -%% Licensed under the Apache License, Version 2.0 (the "License"); -%% you may not use this file except in compliance with the License. -%% You may obtain a copy of the License at -%% -%% http://www.apache.org/licenses/LICENSE-2.0 -%% -%% Unless required by applicable law or agreed to in writing, software -%% distributed under the License is distributed on an "AS IS" BASIS, -%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -%% See the License for the specific language governing permissions and -%% limitations under the License. -%% -%% %CopyrightEnd% -%% --module(otp_ring0). - -%% Purpose : Start up of erlang system. - --export([start/2]). - --spec start(_, term()) -> term(). -start(_Env, Argv) -> - run(init, boot, Argv). - -run(M, F, A) -> - case erlang:function_exported(M, F, 1) of - false -> - erlang:display({fatal,error,module,M,"does not export",F,"/1"}), - halt(1); - true -> - M:F(A) - end. |