Rename terminate to nh_terminate so VS2015 can compile
This commit is contained in:
@@ -221,7 +221,7 @@ const char *mesg;
|
||||
{
|
||||
clearlocks();
|
||||
tty_exit_nhwindows(mesg);
|
||||
terminate(EXIT_SUCCESS);
|
||||
nh_terminate(EXIT_SUCCESS);
|
||||
/*NOTREACHED*/
|
||||
}
|
||||
|
||||
@@ -2663,7 +2663,7 @@ boolean complain;
|
||||
}
|
||||
if (complain)
|
||||
sleep(10); /* want to wait_synch() but stdin is gone */
|
||||
terminate(EXIT_FAILURE);
|
||||
nh_terminate(EXIT_FAILURE);
|
||||
}
|
||||
(void) close(fd);
|
||||
#ifdef notyet
|
||||
|
||||
Reference in New Issue
Block a user