tools build is non-c-99
This commit is contained in:
parent
74d93a2aa9
commit
0b10d223d4
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: job.c,v 1.167 2013/02/02 15:12:25 christos Exp $ */
|
||||
/* $NetBSD: job.c,v 1.168 2013/02/02 15:24:08 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
|
||||
@ -70,14 +70,14 @@
|
||||
*/
|
||||
|
||||
#ifndef MAKE_NATIVE
|
||||
static char rcsid[] = "$NetBSD: job.c,v 1.167 2013/02/02 15:12:25 christos Exp $";
|
||||
static char rcsid[] = "$NetBSD: job.c,v 1.168 2013/02/02 15:24:08 christos Exp $";
|
||||
#else
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef lint
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)job.c 8.2 (Berkeley) 3/19/94";
|
||||
#else
|
||||
__RCSID("$NetBSD: job.c,v 1.167 2013/02/02 15:12:25 christos Exp $");
|
||||
__RCSID("$NetBSD: job.c,v 1.168 2013/02/02 15:24:08 christos Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
#endif
|
||||
@ -2040,7 +2040,7 @@ Job_CatchOutput(void)
|
||||
{
|
||||
int nready;
|
||||
Job *job;
|
||||
int i;
|
||||
int i, n;
|
||||
|
||||
(void)fflush(stdout);
|
||||
|
||||
@ -2050,7 +2050,7 @@ Job_CatchOutput(void)
|
||||
if (nready < 0 || readyfd(&childExitJob)) {
|
||||
char token = 0;
|
||||
nready -= 1;
|
||||
for (size_t n = 0; n < 5 &&
|
||||
for (n = 0; n < 5 &&
|
||||
read(childExitJob.inPipe, &token, 1) == -1 && errno == EAGAIN; n++)
|
||||
continue;
|
||||
if (token == DO_JOB_RESUME[0])
|
||||
|
Loading…
Reference in New Issue
Block a user