From: beware Date: Tue, 13 Dec 2011 02:12:30 +0000 (+0000) Subject: tdnsstatearr declaration is needed outside syncdns code X-Git-Url: http://www.lcore.org/git/lcore.git/commitdiff_plain/5ed1983da18c780d8252c2211f10fe58ae11ae93 tdnsstatearr declaration is needed outside syncdns code git-svn-id: file:///svnroot/lcore/trunk@112 b1de8a11-f9be-4011-bde0-cc7ace90066a --- diff --git a/dnssync.pas b/dnssync.pas index d037a68..60af580 100644 --- a/dnssync.pas +++ b/dnssync.pas @@ -71,6 +71,7 @@ implementation {$i unixstuff.inc} +type tdnsstatearr=array[0..numsock-1] of tdnsstate; {$ifdef syncdnscore} @@ -98,9 +99,6 @@ begin {$endif} end; - -type tdnsstatearr=array[0..numsock-1] of tdnsstate; - procedure resolveloop(timeout:integer;var state:tdnsstatearr;numsockused:integer); var selectresult : integer;