Rename process_simple_wait to process_wait
Adding "simple" in the function name brings no benefit.
This commit is contained in:
@@ -135,7 +135,7 @@ process_terminate(pid_t pid) {
|
||||
}
|
||||
|
||||
bool
|
||||
process_simple_wait(pid_t pid, int *exit_code) {
|
||||
process_wait(pid_t pid, int *exit_code) {
|
||||
int status;
|
||||
int code;
|
||||
if (waitpid(pid, &status, 0) == -1 || !WIFEXITED(status)) {
|
||||
|
||||
Reference in New Issue
Block a user