summaryrefslogtreecommitdiffstats
path: root/usr.bin/dig/lib/isc/unix/time.c
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2020-02-16 08:06:37 +0000
committerflorian <florian@openbsd.org>2020-02-16 08:06:37 +0000
commit5ec3631770cd1b9dc5848765fb144264c1eb401a (patch)
treebb661b5839276fda3277fc045093f371956f971b /usr.bin/dig/lib/isc/unix/time.c
parentWe only use isc_timertype_once, get rid of all other types. (diff)
downloadwireguard-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.c5
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);