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

timeoffset: made static and private

ares__timeoffset() was only used once within this single source file
This commit is contained in:
Daniel Stenberg
2013-08-27 13:06:57 +02:00
parent 30c9031afa
commit efdd616118
3 changed files with 8 additions and 13 deletions

View File

@ -115,15 +115,6 @@ static timeadd(struct timeval *now, int millisecs)
return 0;
}
/* return time offset between now and (future) check, in milliseconds */
long ares__timeoffset(struct timeval *now,
struct timeval *check)
{
return (check->tv_sec - now->tv_sec)*1000 +
(check->tv_usec - now->tv_usec)/1000;
}
/*
* generic process function
*/