Browse Source

* PS1 system unit: moved constants that should be public to the interface part

Nikolay Nikolov 10 months ago
parent
commit
23a66d21bd
1 changed files with 11 additions and 12 deletions
  1. 11 12
      rtl/ps1/system.pp

+ 11 - 12
rtl/ps1/system.pp

@@ -16,18 +16,6 @@ interface
 
 
 {$endif FPUNONE}
 {$endif FPUNONE}
 
 
-var
-  argc:longint=0;
-  argv:PPAnsiChar;
-  envp:PPAnsiChar;
-
-implementation
-
-procedure _InitHeap(p: pdword; l: dword); external name 'InitHeap2';
-procedure _free(p: pointer); external name 'free2';
-function _malloc(l: dword): pointer; external name 'malloc2';
-
-
 const
 const
     maxExitCode = 255;
     maxExitCode = 255;
     AllowDirectorySeparators : set of AnsiChar = ['\','/'];
     AllowDirectorySeparators : set of AnsiChar = ['\','/'];
@@ -46,6 +34,17 @@ const
     FileNameCaseSensitive = true;
     FileNameCaseSensitive = true;
     sLineBreak = #13;
     sLineBreak = #13;
 
 
+var
+  argc:longint=0;
+  argv:PPAnsiChar;
+  envp:PPAnsiChar;
+
+implementation
+
+procedure _InitHeap(p: pdword; l: dword); external name 'InitHeap2';
+procedure _free(p: pointer); external name 'free2';
+function _malloc(l: dword): pointer; external name 'malloc2';
+
 {I ../mips/setjump.inc}
 {I ../mips/setjump.inc}
 {$I system.inc}
 {$I system.inc}