summaryrefslogtreecommitdiffstats
path: root/src/timevalarith.h
blob: c0c015b6a17942cae4d1d12a26059438b04ce62b (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef footimevalarithhfoo
#define footimevalarithhfoo

#include <sys/types.h>
#include <inttypes.h>

struct timeval timeval_max(struct timeval a, struct timeval b);
struct timeval timeval_add(struct timeval a, uint32_t d);
struct timeval timeval_sub(struct timeval a, uint32_t s);

#endif