From: Artem Boldariev Date: Tue, 12 Apr 2022 12:44:40 +0000 (+0300) Subject: Rename yield() to the test_server_yield() X-Git-Tag: v9.19.1~41^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6b56dc56c8e116cabd8a10b9204a0e2cf369655d;p=thirdparty%2Fbind9.git 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'. --- diff --git a/bin/tests/test_server.c b/bin/tests/test_server.c index e1c59c8b826..728927e3555 100644 --- a/bin/tests/test_server.c +++ b/bin/tests/test_server.c @@ -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);