diff options
author | Tom Tromey <tom@tromey.com> | 2022-04-01 19:04:48 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-04-15 11:38:13 -0600 |
commit | 4311246bb1f94ca323b0cf74e917d2b8d3a87565 (patch) | |
tree | dd6ce0b7090bf7da5648c9e1b9de82cc2eed3437 /gdb/utils.h | |
parent | 111d19818a4a7c96c87e330c6c143fa03bb86819 (diff) | |
download | binutils-4311246bb1f94ca323b0cf74e917d2b8d3a87565.zip binutils-4311246bb1f94ca323b0cf74e917d2b8d3a87565.tar.gz binutils-4311246bb1f94ca323b0cf74e917d2b8d3a87565.tar.bz2 |
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.
Diffstat (limited to 'gdb/utils.h')
-rw-r--r-- | gdb/utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/utils.h b/gdb/utils.h index c1ac854..7e20285 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 *); |