time_support: improve use of types
authorZachary T Welch <zw@superlucidity.net>
Mon, 9 Nov 2009 13:45:57 +0000 (05:45 -0800)
committerZachary T Welch <zw@superlucidity.net>
Wed, 11 Nov 2009 13:40:48 +0000 (05:40 -0800)
commit0cd414c7d69361768cf0a8b2c1844a8bb2354c8c
tree8c83db856adcc361e3b94a9e09b88d3395b70a49
parentb7b4efcdf1dcaa999a246f03ee52b16b57c8b1d5
time_support: improve use of types

Update timeval_add_time to use long int; implement timeval_add with it.
Update timeval_ms to check gettimeofday return value, return int64_t.
src/helper/time_support.c
src/helper/time_support.h