* rtl/atari: use the haltproc declared in the startup code instead of calling pterm in the system unit directly.

This commit is contained in:
Karoly Balogh 2022-02-04 11:58:16 +01:00
parent b30a1bf447
commit 93494bf8bf

View File

@ -133,9 +133,11 @@ var
{***************************************************************************** {*****************************************************************************
System Dependent Exit code System Dependent Exit code
*****************************************************************************} *****************************************************************************}
procedure haltproc(e:longint); cdecl; external name '_haltproc';
Procedure system_exit; Procedure system_exit;
begin begin
gemdos_pterm(ExitCode); haltproc(ExitCode);
end; end;
{***************************************************************************** {*****************************************************************************