summaryrefslogtreecommitdiffstats
path: root/usr.bin/dig/lib/isc/unix/time.c
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2020-02-16 21:04:44 +0000
committerflorian <florian@openbsd.org>2020-02-16 21:04:44 +0000
commit1eb893f361b5cb979fbde4a44e2a744b3a62d4c7 (patch)
tree9a6775e734f5064f17efcc63662fda35cb21b0fa /usr.bin/dig/lib/isc/unix/time.c
parentRemove trailing backslashes (diff)
downloadwireguard-openbsd-1eb893f361b5cb979fbde4a44e2a744b3a62d4c7.tar.xz
wireguard-openbsd-1eb893f361b5cb979fbde4a44e2a744b3a62d4c7.zip
The timer type we are using requires interval to be set, remove
unused interval_zero. 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 85ed2e906a2..e666dfc042c 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.8 2020/02/16 18:05:09 florian Exp $ */
+/* $Id: time.c,v 1.9 2020/02/16 21:04:44 florian Exp $ */
/*! \file */
@@ -47,9 +47,6 @@
*** Intervals
***/
-static const struct timespec zero_interval = { 0, 0 };
-const struct timespec * const interval_zero = &zero_interval;
-
void
interval_set(struct timespec *i, time_t seconds, long nanoseconds)
{