KNF
This commit is contained in:
parent
e3acd9c76a
commit
8546943535
4
jobs.c
4
jobs.c
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
#include "sh.h"
|
#include "sh.h"
|
||||||
|
|
||||||
__RCSID("$MirOS: src/bin/mksh/jobs.c,v 1.109 2015/03/01 15:43:09 tg Exp $");
|
__RCSID("$MirOS: src/bin/mksh/jobs.c,v 1.110 2015/03/01 16:02:48 tg Exp $");
|
||||||
|
|
||||||
#if HAVE_KILLPG
|
#if HAVE_KILLPG
|
||||||
#define mksh_killpg killpg
|
#define mksh_killpg killpg
|
||||||
|
@ -1240,7 +1240,7 @@ j_waitj(Job *j,
|
||||||
rv = j->status;
|
rv = j->status;
|
||||||
|
|
||||||
if (!(p = j->proc_list)) {
|
if (!(p = j->proc_list)) {
|
||||||
/* nothing */;
|
; /* nothing */
|
||||||
} else if (flags & JW_PIPEST) {
|
} else if (flags & JW_PIPEST) {
|
||||||
uint32_t num = 0;
|
uint32_t num = 0;
|
||||||
struct tbl *vp;
|
struct tbl *vp;
|
||||||
|
|
4
lex.c
4
lex.c
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
#include "sh.h"
|
#include "sh.h"
|
||||||
|
|
||||||
__RCSID("$MirOS: src/bin/mksh/lex.c,v 1.195 2014/12/15 22:50:10 tg Exp $");
|
__RCSID("$MirOS: src/bin/mksh/lex.c,v 1.196 2015/03/01 16:02:48 tg Exp $");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* states while lexing word
|
* states while lexing word
|
||||||
|
@ -1161,7 +1161,7 @@ readhere(struct ioword *iop)
|
||||||
if (iop->flag & IOSKIP) {
|
if (iop->flag & IOSKIP) {
|
||||||
/* skip over leading tabs */
|
/* skip over leading tabs */
|
||||||
while ((c = getsc()) == '\t')
|
while ((c = getsc()) == '\t')
|
||||||
/* nothing */;
|
; /* nothing */
|
||||||
goto heredoc_parse_char;
|
goto heredoc_parse_char;
|
||||||
}
|
}
|
||||||
heredoc_read_char:
|
heredoc_read_char:
|
||||||
|
|
Loading…
Reference in New Issue