Fixed warning 'type specifier missing'.

pull/12/head
Guenter Knauf 12 years ago
parent 83ab208e83
commit c8ec633bf5
  1. 4
      ares_process.c

@ -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;
}
/*

Loading…
Cancel
Save