diff options
| author | Alan Somers <asomers@FreeBSD.org> | 2018-07-30 15:46:40 +0000 |
|---|---|---|
| committer | Alan Somers <asomers@FreeBSD.org> | 2018-07-30 15:46:40 +0000 |
| commit | 6040822c4e20fb46638ecaaad543fc56f6ec2b0f (patch) | |
| tree | 133352663bf8c98c65abf581f6a4a8769325ca09 /usr.bin/truss/truss.h | |
| parent | 19fe43f796f3d962b3bf023a4484a82d7b2a5711 (diff) | |
Notes
Diffstat (limited to 'usr.bin/truss/truss.h')
| -rw-r--r-- | usr.bin/truss/truss.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/usr.bin/truss/truss.h b/usr.bin/truss/truss.h index e63dbcbcb50c..4615b798e7cd 100644 --- a/usr.bin/truss/truss.h +++ b/usr.bin/truss/truss.h @@ -119,23 +119,3 @@ struct trussinfo LIST_HEAD(, procinfo) proclist; }; - -#define timespecsubt(tvp, uvp, vvp) \ - do { \ - (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \ - (vvp)->tv_nsec = (tvp)->tv_nsec - (uvp)->tv_nsec; \ - if ((vvp)->tv_nsec < 0) { \ - (vvp)->tv_sec--; \ - (vvp)->tv_nsec += 1000000000; \ - } \ - } while (0) - -#define timespecadd(tvp, uvp, vvp) \ - do { \ - (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \ - (vvp)->tv_nsec = (tvp)->tv_nsec + (uvp)->tv_nsec; \ - if ((vvp)->tv_nsec > 1000000000) { \ - (vvp)->tv_sec++; \ - (vvp)->tv_nsec -= 1000000000; \ - } \ - } while (0) |
