diff options
| author | christos <christos@NetBSD.org> | 2022-01-20 19:49:51 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2022-01-20 19:49:51 +0000 |
| commit | 0b4fb8e74d37562ecb45ad37730ce3e157ecfa8b (patch) | |
| tree | d400670c4af3654e007ab5545df3ba8bb62573e8 /usr.bin/script/script.c | |
| parent | 48c1c0135a823227dffe05ba4eb7ce5d182871db (diff) | |
dooutput can return if finish() does not find a chile process.
Diffstat (limited to 'usr.bin/script/script.c')
| -rw-r--r-- | usr.bin/script/script.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/script/script.c b/usr.bin/script/script.c index 62536155886..d7ec6c598c0 100644 --- a/usr.bin/script/script.c +++ b/usr.bin/script/script.c @@ -1,4 +1,4 @@ -/* $NetBSD: script.c,v 1.29 2022/01/16 19:04:00 christos Exp $ */ +/* $NetBSD: script.c,v 1.30 2022/01/20 19:49:51 christos Exp $ */ /* * Copyright (c) 1980, 1992, 1993 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1992, 1993\ #if 0 static char sccsid[] = "@(#)script.c 8.1 (Berkeley) 6/6/93"; #endif -__RCSID("$NetBSD: script.c,v 1.29 2022/01/16 19:04:00 christos Exp $"); +__RCSID("$NetBSD: script.c,v 1.30 2022/01/20 19:49:51 christos Exp $"); #endif /* not lint */ #include <sys/types.h> @@ -86,9 +86,9 @@ static int isterm; static struct termios tt; __dead static void done(int); -__dead static void dooutput(void); __dead static void doshell(const char *); __dead static void fail(void); +static void dooutput(void); static void finish(int); static void scriptflush(int); static void record(FILE *, char *, size_t, int); |
