Kaynağa Gözat

Use TIOCtlRequest type for local variable nr inside TCSetAttr function

git-svn-id: trunk@42024 -
pierre 6 yıl önce
ebeveyn
işleme
83d72bdf19

+ 1 - 1
rtl/beos/termiosproc.inc

@@ -26,7 +26,7 @@ end;
 
 Function TCSetAttr(fd:cint;OptAct:cint;const tios:TermIOS):cint;
 var
-  nr:cint;
+  nr:TIOCtlRequest;
 begin
   case OptAct of
    TCSANOW   : nr:=TIOCSETA;

+ 1 - 1
rtl/darwin/termiosproc.inc

@@ -25,7 +25,7 @@ end;
 
 Function TCSetAttr(fd:cint;OptAct:cint;const tios:TermIOS):cint;
 var
-  nr:culong;
+  nr:TIOCtlRequest;
 begin
   case OptAct of
    TCSANOW   : nr:=TIOCSETA;

+ 1 - 1
rtl/haiku/termiosproc.inc

@@ -26,7 +26,7 @@ end;
 
 Function TCSetAttr(fd:cint;OptAct:cint;const tios:TermIOS):cint;
 var
-  nr:cint;
+  nr: TIOCtlRequest;
 begin
   case OptAct of
    TCSANOW   : nr:=TIOCSETA;

+ 1 - 1
rtl/linux/termiosproc.inc

@@ -15,7 +15,7 @@ end;
 
 Function TCSetAttr(fd:cint;OptAct:cint;const tios:TermIOS):cint;
 var
-  nr:culong;
+  nr:TIOCtlRequest;
 begin
   case OptAct of
    TCSANOW   : nr:=TCSETS;

+ 1 - 1
rtl/netbsd/termiosproc.inc

@@ -26,7 +26,7 @@ end;
 
 Function TCSetAttr(fd:cint;OptAct:cint;const tios:TermIOS):cint;
 var
-  nr:cint;
+  nr:TIOCtlRequest;
 begin
   case OptAct of
    TCSANOW   : nr:=TIOCSETA;

+ 1 - 1
rtl/openbsd/termiosproc.inc

@@ -26,7 +26,7 @@ end;
 
 Function TCSetAttr(fd:cint;OptAct:cint;const tios:TermIOS):cint;
 var
-  nr:cint;
+  nr:TIOCtlRequest;
 begin
   case OptAct of
    TCSANOW   : nr:=TIOCSETA;