summaryrefslogtreecommitdiffstats
path: root/usr.bin/dig/lib/isc/unix/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/dig/lib/isc/unix/time.c')
-rw-r--r--usr.bin/dig/lib/isc/unix/time.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/usr.bin/dig/lib/isc/unix/time.c b/usr.bin/dig/lib/isc/unix/time.c
index 77c581a0016..c1e3003cabb 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.10 2020/02/16 21:06:15 florian Exp $ */
+/* $Id: time.c,v 1.11 2020/02/16 21:06:54 florian Exp $ */
/*! \file */
@@ -47,22 +47,6 @@
*** Absolute Times
***/
-void
-isc_time_set(struct timespec *t, time_t seconds, long nanoseconds) {
- REQUIRE(t != NULL);
- REQUIRE(nanoseconds < NS_PER_S);
-
- t->tv_sec = seconds;
- t->tv_nsec = nanoseconds;
-}
-
-void
-isc_time_settoepoch(struct timespec *t) {
- REQUIRE(t != NULL);
-
- timespecclear(t);
-}
-
isc_boolean_t
isc_time_isepoch(const struct timespec *t) {
REQUIRE(t != NULL);