Browse Source

Remove explicit far modifier to fix msdos compilation

git-svn-id: trunk@38765 -
pierre 7 years ago
parent
commit
1e1603425d

+ 1 - 1
tests/test/units/dos/tfattr.pp

@@ -303,7 +303,7 @@ var
  f: file;
  oldexit : codepointer;
 
-  procedure MyExit;far;
+  procedure MyExit;
    begin
      ExitProc := OldExit;
      RmDir(TestDir);

+ 1 - 1
tests/test/units/objects/testobj.pp

@@ -14,7 +14,7 @@ const
 (* stream. Will Terminate executing program, as well as display info     *)
 (* on the type of error encountered.                                     *)
 (*************************************************************************)
-Procedure StreamErrorProcedure(Var S: TStream); FAR;
+Procedure StreamErrorProcedure(Var S: TStream);
 Begin
  If S.Status = StError then
  Begin

+ 1 - 1
tests/test/units/objects/testobj1.pp

@@ -14,7 +14,7 @@ const
 (* stream. Will Terminate executing program, as well as display info     *)
 (* on the type of error encountered.                                     *)
 (*************************************************************************)
-Procedure StreamErrorProcedure(Var S: TStream); FAR;
+Procedure StreamErrorProcedure(Var S: TStream);
 Begin
  If S.Status = StError then
  Begin