C89 compat

Present for Dirk
This commit is contained in:
Michael Davidsaver
2020-11-20 17:25:27 -08:00
parent 53897d4a82
commit dc99d63df8

View File

@@ -214,6 +214,7 @@ void udpSockFanoutTestRx(void* raw)
{
struct TInfo *info = raw;
epicsTimeStamp start, now;
unsigned nremain = nrepeat;
#ifdef _WIN32
/* ms */
DWORD timeout = 10000;
@@ -223,7 +224,6 @@ void udpSockFanoutTestRx(void* raw)
timeout.tv_sec = 5;
timeout.tv_usec = 0;
#endif
unsigned nremain = nrepeat;
(void)epicsTimeGetCurrent(&start);
now = start;