Rename yield() to the test_server_yield()

This commit ensures that the test_server binary will build on Solaris,
which has yield() definition within 'unistd.h'.
This commit is contained in:
Artem Boldariev 2022-04-12 15:44:40 +03:00
parent 51edc7f5c0
commit 6b56dc56c8

View file

@ -202,7 +202,7 @@ teardown(void) {
}
static void
yield(void) {
test_server_yield(void) {
sigset_t sset;
int sig;
@ -307,7 +307,7 @@ run(void) {
}
REQUIRE(result == ISC_R_SUCCESS);
yield();
test_server_yield();
isc_nm_stoplistening(sock);
isc_nmsocket_close(&sock);