From f160996d5171d0140c3d58ff03ddfbbf25543bf3 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 28 May 2004 19:16:55 +0000 Subject: Changed a few job-table variables into ints. --- Src/jobs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Src') diff --git a/Src/jobs.c b/Src/jobs.c index ba3846654..4cef396da 100644 --- a/Src/jobs.c +++ b/Src/jobs.c @@ -64,12 +64,12 @@ mod_export struct job *jobtab; /* Size of the job table. */ /**/ -mod_export size_t jobtabsize; +mod_export int jobtabsize; /* The highest numbered job in the jobtable */ /**/ -mod_export size_t maxjob; +mod_export int maxjob; /* If we have entered a subshell, the original shell's job table. */ static struct job *oldjobtab; @@ -1365,7 +1365,7 @@ init_jobs(char **argv, char **envp) int expandjobtab(void) { - size_t newsize = jobtabsize + MAXJOBS_ALLOC; + int newsize = jobtabsize + MAXJOBS_ALLOC; struct job *newjobtab; if (newsize > MAX_MAXJOBS) @@ -1399,7 +1399,7 @@ expandjobtab(void) void maybeshrinkjobtab(void) { - size_t jobbound; + int jobbound; queue_signals(); jobbound = maxjob + MAXJOBS_ALLOC - (maxjob % MAXJOBS_ALLOC); -- cgit 1.4.1