tdnsstatearr declaration is needed outside syncdns code
authorbeware <beware@bircd.org>
Tue, 13 Dec 2011 02:12:30 +0000 (02:12 +0000)
committerbeware <beware@bircd.org>
Tue, 13 Dec 2011 02:12:30 +0000 (02:12 +0000)
git-svn-id: file:///svnroot/lcore/trunk@112 b1de8a11-f9be-4011-bde0-cc7ace90066a

dnssync.pas

index d037a68ea9cc350bee1ca33d95cbd95e770efcce..60af58082e36a7d075a67fe41d5009683e4f9873 100644 (file)
@@ -71,6 +71,7 @@ implementation
 \r
 {$i unixstuff.inc}\r
 \r
+type tdnsstatearr=array[0..numsock-1] of tdnsstate;\r
 \r
 {$ifdef syncdnscore}\r
 \r
@@ -98,9 +99,6 @@ begin
 {$endif}\r
 end;\r
 \r
-\r
-type tdnsstatearr=array[0..numsock-1] of tdnsstate;\r
-\r
 procedure resolveloop(timeout:integer;var state:tdnsstatearr;numsockused:integer);\r
 var\r
   selectresult   : integer;\r