summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-02-23 05:56:22 +0200
committerArnold D. Robbins <arnold@skeeve.com>2017-02-23 05:56:22 +0200
commit7bbeac0ea5f8ecf4925dc982dbebfcc4ba0c5b11 (patch)
tree0df4d527821ad6efb6fd0877eb9aab03ebcc62be /io.c
parentf91f8ee802f852135c237aafe6e17c02e4439aa5 (diff)
parent7704e90c4f3aa4b3ce093bd9d67dee2b70f5acbc (diff)
downloadgawk-7bbeac0ea5f8ecf4925dc982dbebfcc4ba0c5b11.tar.gz
Merge branch 'master' into feature/stringfix
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io.c b/io.c
index 8a6c718e..08b8f59b 100644
--- a/io.c
+++ b/io.c
@@ -275,7 +275,7 @@ static IOBUF *iop_finish(IOBUF *iop);
static int gawk_pclose(struct redirect *rp);
static int str2mode(const char *mode);
static int two_way_open(const char *str, struct redirect *rp, int extfd);
-static int pty_vs_pipe(const char *command);
+static bool pty_vs_pipe(const char *command);
static void find_input_parser(IOBUF *iop);
static bool find_output_wrapper(awk_output_buf_t *outbuf);
static void init_output_wrapper(awk_output_buf_t *outbuf);
@@ -3918,7 +3918,7 @@ set_FS:
* This works by checking if PROCINFO["command", "pty"] exists and is true.
*/
-static int
+static bool
pty_vs_pipe(const char *command)
{
#ifdef HAVE_TERMIOS_H