From 7704e90c4f3aa4b3ce093bd9d67dee2b70f5acbc Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Thu, 23 Feb 2017 05:54:44 +0200 Subject: Change return type on some functions from int to bool. --- io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'io.c') diff --git a/io.c b/io.c index d65f2aaa..cced126e 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); @@ -3915,7 +3915,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 -- cgit v1.2.3