From 0d0317b3af32e7d366acb8000607a1797fa6c5af Mon Sep 17 00:00:00 2001 From: Michael VAN CANNEYT Date: Fri, 6 Jan 2023 11:17:22 +0100 Subject: [PATCH] * string -> shortstring --- rtl/linux/termio.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtl/linux/termio.pp b/rtl/linux/termio.pp index d0f040d4c7..7417120e01 100644 --- a/rtl/linux/termio.pp +++ b/rtl/linux/termio.pp @@ -37,7 +37,7 @@ implementation {We can implement ttyname more efficiently using proc than by including the generic ttyname.inc file.} -function TTYName(Handle:cint):string; +function TTYName(Handle:cint):shortstring; { Return the name of the current tty described by handle f. returns empty string in case of an error.} @@ -55,7 +55,7 @@ begin end; end; -function TTYName(var F:Text):string;{$ifndef ver2_0}inline;{$endif} +function TTYName(var F:Text):shortstring;{$ifndef ver2_0}inline;{$endif} { Idem as previous, only now for text variables; }