瀏覽代碼

Remove explicit far modifier to fix msdos compilation

git-svn-id: trunk@38765 -
pierre 7 年之前
父節點
當前提交
1e1603425d
共有 3 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      tests/test/units/dos/tfattr.pp
  2. 1 1
      tests/test/units/objects/testobj.pp
  3. 1 1
      tests/test/units/objects/testobj1.pp

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

@@ -303,7 +303,7 @@ var
  f: file;
  f: file;
  oldexit : codepointer;
  oldexit : codepointer;
 
 
-  procedure MyExit;far;
+  procedure MyExit;
    begin
    begin
      ExitProc := OldExit;
      ExitProc := OldExit;
      RmDir(TestDir);
      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     *)
 (* stream. Will Terminate executing program, as well as display info     *)
 (* on the type of error encountered.                                     *)
 (* on the type of error encountered.                                     *)
 (*************************************************************************)
 (*************************************************************************)
-Procedure StreamErrorProcedure(Var S: TStream); FAR;
+Procedure StreamErrorProcedure(Var S: TStream);
 Begin
 Begin
  If S.Status = StError then
  If S.Status = StError then
  Begin
  Begin

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

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