bugfix for older compilers: have all declarations before instructions
This commit is contained in:
1 parent
45924d28e0
commit
d795dd76a6
1 file changed
+1
-1
@@ -213,6 +213,7 @@ void udpSockFanoutTestRx(void* raw)
|
||||
{
|
||||
struct TInfo *info = raw;
|
||||
epicsTimeStamp start, now;
|
||||
unsigned nremain = nrepeat;
|
||||
#ifdef _WIN32
|
||||
/* ms */
|
||||
DWORD timeout = 10000;
|
||||
@@ -222,7 +223,6 @@ void udpSockFanoutTestRx(void* raw)
|
||||
timeout.tv_sec = 10;
|
||||
timeout.tv_usec = 0;
|
||||
#endif
|
||||
unsigned nremain = nrepeat;
|
||||
|
||||
(void)epicsTimeGetCurrent(&start);
|
||||
now = start;
|
||||
|
||||
Reference in new issue
Block a user