statzone

DNS zone file analyzer targeted at TLD zones
Log | Files | Refs | README | LICENSE

commit b690529e040af4ca157b0aa10e592f0632eea30e
parent 9d7e48bfd93cd9fe0d413e2457aa6f93e15fb8ee
Author: Frederic Cambus <fred@statdns.com>
Date:   Tue, 30 Mar 2021 19:35:08 +0200

Remove now unneeded timespecsub macro in compat header.

Diffstat:
Mcompat/compat.h | 12------------
1 file changed, 0 insertions(+), 12 deletions(-)

diff --git a/compat/compat.h b/compat/compat.h @@ -10,16 +10,4 @@ #define CLOCK_MONOTONIC CLOCK_REALTIME #endif -#ifndef timespecsub -#define timespecsub(tsp, usp, vsp) \ - do { \ - (vsp)->tv_sec = (tsp)->tv_sec - (usp)->tv_sec; \ - (vsp)->tv_nsec = (tsp)->tv_nsec - (usp)->tv_nsec; \ - if ((vsp)->tv_nsec < 0) { \ - (vsp)->tv_sec--; \ - (vsp)->tv_nsec += 1000000000L; \ - } \ - } while (0) -#endif - #endif /* COMPAT_H */