diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2020-02-15 17:59:56 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2020-02-15 17:59:56 +0000 |
commit | 041333ded23476ee20b2d905937694662dc6849b (patch) | |
tree | ab1babfb9ebbe88f12408b1f99c53a05f7e39cd4 | |
parent | 17b5d9cfe3d7dca81d19c0dff7b5bacae7ef7ef6 (diff) |
remove unused function
-rw-r--r-- | usr.bin/dig/lib/isc/include/isc/timer.h | 10 | ||||
-rw-r--r-- | 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); /*! @@ -637,11 +635,6 @@ isc__timermgr_create(isc_timermgr_t **managerp) { } void -isc_timermgr_poke(isc_timermgr_t *manager0) { - UNUSED(manager0); -} - -void isc__timermgr_destroy(isc_timermgr_t **managerp) { isc__timermgr_t *manager; |