TIME_SUPPORT: review unused symbols

Remove unused functions:
- timeval_add

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
__archive__
Antonio Borneo 2010-04-10 19:25:32 +08:00
parent b2468e3c4f
commit c0b5ca6d17
2 changed files with 0 additions and 8 deletions

View File

@ -51,13 +51,6 @@ int timeval_subtract(struct timeval *result, struct timeval *x, struct timeval *
return x->tv_sec < y->tv_sec;
}
/* add two struct timeval values */
int timeval_add(struct timeval *result, struct timeval *x, struct timeval *y)
{
memcpy(result, x, sizeof(struct timeval));
return timeval_add_time(result, y->tv_sec, y->tv_usec);
}
int timeval_add_time(struct timeval *result, long sec, long usec)
{
result->tv_sec += sec;

View File

@ -38,7 +38,6 @@
#endif
int timeval_subtract(struct timeval *result, struct timeval *x, struct timeval *y);
int timeval_add(struct timeval *result, struct timeval *x, struct timeval *y);
int timeval_add_time(struct timeval *result, long sec, long usec);
/// @returns gettimeofday() timeval as 64-bit in ms