]> git.sesse.net Git - cubemap/blob - timespec.h
Fix an unlikely leak in HTTPInput.
[cubemap] / timespec.h
1 #ifndef _TIMESPEC_H
2 #define _TIMESPEC_H 1
3
4 struct timespec;
5
6 // Compute b-a.
7 timespec clock_diff(const timespec &a, const timespec &b);
8
9 // Compute a+b.
10 timespec clock_add(const timespec &a, const timespec &b);
11
12 #endif  // !defined(_TIMESPEC_H)