From 041333ded23476ee20b2d905937694662dc6849b Mon Sep 17 00:00:00 2001 From: Florian Obser Date: Sat, 15 Feb 2020 17:59:56 +0000 Subject: remove unused function --- usr.bin/dig/lib/isc/include/isc/timer.h | 10 +--------- usr.bin/dig/lib/isc/timer.c | 9 +-------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/usr.bin/dig/lib/isc/include/isc/timer.h b/usr.bin/dig/lib/isc/include/isc/timer.h index ba906de4a76..3cd820c1dd6 100644 --- a/usr.bin/dig/lib/isc/include/isc/timer.h +++ b/usr.bin/dig/lib/isc/include/isc/timer.h @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: timer.h,v 1.4 2020/02/15 17:59:26 florian Exp $ */ +/* $Id: timer.h,v 1.5 2020/02/15 17:59:55 florian Exp $ */ #ifndef ISC_TIMER_H #define ISC_TIMER_H 1 @@ -352,12 +352,4 @@ isc_timermgr_destroy(isc_timermgr_t **managerp); *\li All resources used by the manager have been freed. */ -void isc_timermgr_poke(isc_timermgr_t *m); - -/*%< - * See isc_timermgr_create() above. - */ -typedef isc_result_t -(*isc_timermgrcreatefunc_t)(isc_timermgr_t **managerp); - #endif /* ISC_TIMER_H */ diff --git a/usr.bin/dig/lib/isc/timer.c b/usr.bin/dig/lib/isc/timer.c index 0eee16fd06a..5351aab0de0 100644 --- a/usr.bin/dig/lib/isc/timer.c +++ b/usr.bin/dig/lib/isc/timer.c @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: timer.c,v 1.7 2020/02/15 17:59:26 florian Exp $ */ +/* $Id: timer.c,v 1.8 2020/02/15 17:59:55 florian Exp $ */ /*! \file */ @@ -95,8 +95,6 @@ isc__timer_detach(isc_timer_t **timerp); isc_result_t isc__timermgr_create(isc_timermgr_t **managerp); void -isc_timermgr_poke(isc_timermgr_t *manager0); -void isc__timermgr_destroy(isc_timermgr_t **managerp); /*! @@ -636,11 +634,6 @@ isc__timermgr_create(isc_timermgr_t **managerp) { return (ISC_R_SUCCESS); } -void -isc_timermgr_poke(isc_timermgr_t *manager0) { - UNUSED(manager0); -} - void isc__timermgr_destroy(isc_timermgr_t **managerp) { isc__timermgr_t *manager; -- cgit v1.2.3