mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Change isc_timer_reset() usage to never use expires argument
There were two places where expires argument (absolute isc_time_t value) was being used. Both places has been converted to use relative interval argument in preparation of simplification and refactoring of isc_timer API.
This commit is contained in:
@@ -92,7 +92,7 @@ struct isc_timermgr {
|
||||
isc_heap_t *heap;
|
||||
};
|
||||
|
||||
static inline isc_result_t
|
||||
static isc_result_t
|
||||
schedule(isc_timer_t *timer, isc_time_t *now, bool signal_ok) {
|
||||
isc_timermgr_t *manager;
|
||||
isc_time_t due;
|
||||
@@ -170,7 +170,7 @@ schedule(isc_timer_t *timer, isc_time_t *now, bool signal_ok) {
|
||||
return (ISC_R_SUCCESS);
|
||||
}
|
||||
|
||||
static inline void
|
||||
static void
|
||||
deschedule(isc_timer_t *timer) {
|
||||
isc_timermgr_t *manager;
|
||||
|
||||
|
Reference in New Issue
Block a user