1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-10-05 15:09:47 +00:00

Fixed warning 'type specifier missing'.

This commit is contained in:
Guenter Knauf
2013-08-31 22:40:22 +02:00
parent 83ab208e83
commit c8ec633bf5

View File

@ -102,7 +102,7 @@ int ares__timedout(struct timeval *now,
}
/* add the specific number of milliseconds to the time in the first argument */
static timeadd(struct timeval *now, int millisecs)
static void timeadd(struct timeval *now, int millisecs)
{
now->tv_sec += millisecs/1000;
now->tv_usec += (millisecs%1000)*1000;
@ -111,8 +111,6 @@ static timeadd(struct timeval *now, int millisecs)
++(now->tv_sec);
now->tv_usec -= 1000000;
}
return 0;
}
/*