summaryrefslogtreecommitdiffstats
path: root/usr.bin/dig/lib/isc/unix/time.c
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2020-02-16 21:07:33 +0000
committerflorian <florian@openbsd.org>2020-02-16 21:07:33 +0000
commit33b19833b81294a26766107e4940c73163499b88 (patch)
tree193d8630ccfb81648f869c3c14d627336d953dba /usr.bin/dig/lib/isc/unix/time.c
parentremove timespec setters (diff)
downloadwireguard-openbsd-33b19833b81294a26766107e4940c73163499b88.tar.xz
wireguard-openbsd-33b19833b81294a26766107e4940c73163499b88.zip
unravel isc_time_isepoch
OK millert
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);