mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Merge branch 'ondrej-dont-use-shutdown-function-name-v9_18' into 'v9_18'
Rename shutdown() to test_shutdown() in timer_test.c [v9.18] See merge request isc-projects/bind9!6080
This commit is contained in:
commit
70c8e77e36
1 changed files with 2 additions and 2 deletions
|
|
@ -81,7 +81,7 @@ _teardown(void **state) {
|
|||
}
|
||||
|
||||
static void
|
||||
shutdown(isc_task_t *task, isc_event_t *event) {
|
||||
test_shutdown(isc_task_t *task, isc_event_t *event) {
|
||||
isc_result_t result;
|
||||
|
||||
UNUSED(task);
|
||||
|
|
@ -122,7 +122,7 @@ setup_test(isc_timertype_t timertype, isc_time_t *expires,
|
|||
result = isc_task_create(taskmgr, 0, &task);
|
||||
assert_int_equal(result, ISC_R_SUCCESS);
|
||||
|
||||
result = isc_task_onshutdown(task, shutdown, NULL);
|
||||
result = isc_task_onshutdown(task, test_shutdown, NULL);
|
||||
assert_int_equal(result, ISC_R_SUCCESS);
|
||||
|
||||
isc_mutex_lock(&lasttime_mx);
|
||||
|
|
|
|||
Loading…
Reference in a new issue