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:
@@ -202,7 +202,7 @@ teardown(void) {
|
||||
}
|
||||
|
||||
static void
|
||||
yield(void) {
|
||||
test_server_yield(void) {
|
||||
sigset_t sset;
|
||||
int sig;
|
||||
|
||||
@@ -306,7 +306,7 @@ run(void) {
|
||||
}
|
||||
REQUIRE(result == ISC_R_SUCCESS);
|
||||
|
||||
yield();
|
||||
test_server_yield();
|
||||
|
||||
isc_nm_stoplistening(sock);
|
||||
isc_nmsocket_close(&sock);
|
||||
|
||||
Reference in New Issue
Block a user