Merge branch '4368-callback-prototype-mismatch' into 'bind-9.18'

Resolve "tcp_noresponse check fails with LLVM 17"

See merge request isc-projects/bind9!8394
This commit is contained in:
Mark Andrews
2023-10-17 22:06:16 +00:00

View File

@@ -393,7 +393,7 @@ noop_recv_cb(isc_nmhandle_t *handle, isc_result_t eresult, isc_region_t *region,
UNUSED(cbarg);
}
static unsigned int
static isc_result_t
noop_accept_cb(isc_nmhandle_t *handle, isc_result_t result, void *cbarg) {
UNUSED(handle);
UNUSED(cbarg);
@@ -402,7 +402,7 @@ noop_accept_cb(isc_nmhandle_t *handle, isc_result_t result, void *cbarg) {
(void)atomic_fetch_add(&saccepts, 1);
}
return (0);
return (ISC_R_SUCCESS);
}
static void