diff options
| author | 2020-02-16 08:06:37 +0000 | |
|---|---|---|
| committer | 2020-02-16 08:06:37 +0000 | |
| commit | 5ec3631770cd1b9dc5848765fb144264c1eb401a (patch) | |
| tree | bb661b5839276fda3277fc045093f371956f971b /usr.bin/dig/lib/isc/unix/time.c | |
| parent | We only use isc_timertype_once, get rid of all other types. (diff) | |
| download | wireguard-openbsd-5ec3631770cd1b9dc5848765fb144264c1eb401a.tar.xz wireguard-openbsd-5ec3631770cd1b9dc5848765fb144264c1eb401a.zip | |
Now we are only using one timer type (once) and expires is always NULL
so remove those struct members.
OK millert
Diffstat (limited to 'usr.bin/dig/lib/isc/unix/time.c')
| -rw-r--r-- | usr.bin/dig/lib/isc/unix/time.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/dig/lib/isc/unix/time.c b/usr.bin/dig/lib/isc/unix/time.c index c9b8c34c07f..c6de5cc82d4 100644 --- a/usr.bin/dig/lib/isc/unix/time.c +++ b/usr.bin/dig/lib/isc/unix/time.c @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: time.c,v 1.6 2020/02/13 21:34:06 jung Exp $ */ +/* $Id: time.c,v 1.7 2020/02/16 08:06:37 florian Exp $ */ /*! \file */ @@ -77,9 +77,6 @@ interval_iszero(const interval_t *i) { *** Absolute Times ***/ -static const isc_time_t epoch = { 0, 0 }; -const isc_time_t * const isc_time_epoch = &epoch; - void isc_time_set(isc_time_t *t, unsigned int seconds, unsigned int nanoseconds) { REQUIRE(t != NULL); |
