From 4311246bb1f94ca323b0cf74e917d2b8d3a87565 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 1 Apr 2022 19:04:48 -0600 Subject: Return void from gdb_putc I don't think it's very useful to return the character from gdb_putc, so this patch changes it to return void. --- gdb/utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/utils.h') diff --git a/gdb/utils.h b/gdb/utils.h index c1ac85497bf..7e2028580bf 100644 --- a/gdb/utils.h +++ b/gdb/utils.h @@ -224,9 +224,9 @@ extern void set_screen_width_and_height (int width, int height); extern void gdb_puts (const char *, struct ui_file *); -extern int gdb_putc (int c, struct ui_file *); +extern void gdb_putc (int c, struct ui_file *); -extern int gdb_putc (int c); +extern void gdb_putc (int c); extern void gdb_puts (const char *); -- cgit v1.2.1