bugfix for older compilers: have all declarations before instructions
This commit is contained in:
@@ -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