about summary refs log tree commit diff
path: root/Src/jobs.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2000-12-06 12:22:39 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2000-12-06 12:22:39 +0000
commitf39af3954fa94f4a11718d173185cc200e6027b5 (patch)
treed5b926a8562d4cfecf07ee481e0902f714be5024 /Src/jobs.c
parent7949a31e5b93ecd505cb220f771850650162a0b6 (diff)
downloadzsh-f39af3954fa94f4a11718d173185cc200e6027b5.tar.gz
zsh-f39af3954fa94f4a11718d173185cc200e6027b5.tar.xz
zsh-f39af3954fa94f4a11718d173185cc200e6027b5.zip
Rename waitjob() to zwaitjob().
Diffstat (limited to 'Src/jobs.c')
-rw-r--r--Src/jobs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Src/jobs.c b/Src/jobs.c
index 28246d422..966263645 100644
--- a/Src/jobs.c
+++ b/Src/jobs.c
@@ -890,7 +890,7 @@ waitforpid(pid_t pid)
 
 /**/
 static void
-waitjob(int job, int sig)
+zwaitjob(int job, int sig)
 {
     Job jn = jobtab + job;
 
@@ -937,7 +937,7 @@ waitjobs(void)
     Job jn = jobtab + thisjob;
 
     if (jn->procs)
-	waitjob(thisjob, 0);
+	zwaitjob(thisjob, 0);
     else {
 	deletejob(jn);
 	pipestats[0] = lastval;
@@ -1276,7 +1276,7 @@ bin_fg(char *name, char **argv, char *ops, int func)
 	} else {   /* Must be BIN_WAIT, so wait for all jobs */
 	    for (job = 0; job != MAXJOB; job++)
 		if (job != thisjob && jobtab[job].stat)
-		    waitjob(job, SIGINT);
+		    zwaitjob(job, SIGINT);
 	    return 0;
 	}
     }
@@ -1367,7 +1367,7 @@ bin_fg(char *name, char **argv, char *ops, int func)
 		killjb(jobtab + job, SIGCONT);
 	    }
 	    if (func == BIN_WAIT)
-		waitjob(job, SIGINT);
+		zwaitjob(job, SIGINT);
 	    if (func != BIN_BG) {
 		waitjobs();
 		retval = lastval2;