diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-01-02 22:11:39 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-01-02 22:11:39 +0000 |
commit | b6b209d5433fb9f29acc468781edd267ce741cb5 (patch) | |
tree | a2b6406fb0050af5bcc184a2fa5644f2b4c799ed /src/timevalarith.h | |
parent | 263b632288c0662ae4ef08925291f8d1a55c1311 (diff) |
Forgot much of the changes
git-svn-id: file:///home/lennart/svn/public/ivam2/trunk@11 dbf6933d-3bce-0310-9bcc-ed052ba35b35
Diffstat (limited to 'src/timevalarith.h')
-rw-r--r-- | src/timevalarith.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/timevalarith.h b/src/timevalarith.h new file mode 100644 index 0000000..c0c015b --- /dev/null +++ b/src/timevalarith.h @@ -0,0 +1,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 |