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.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/usr.bin/dig/lib/isc/unix/time.c b/usr.bin/dig/lib/isc/unix/time.c
index c1e3003cabb..4b3658c3fdb 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.11 2020/02/16 21:06:54 florian Exp $ */
+/* $Id: time.c,v 1.12 2020/02/16 21:07:33 florian Exp $ */
/*! \file */
@@ -47,18 +47,6 @@
*** Absolute Times
***/
-isc_boolean_t
-isc_time_isepoch(const struct timespec *t) {
- REQUIRE(t != NULL);
- INSIST(t->tv_nsec < NS_PER_S);
-
- if (!timespecisset(t))
- return (ISC_TRUE);
-
- return (ISC_FALSE);
-}
-
-
isc_result_t
isc_time_now(struct timespec *t) {
REQUIRE(t != NULL);