aboutsummaryrefslogtreecommitdiff
path: root/gdb/ui-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ui-file.c')
-rw-r--r--gdb/ui-file.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/ui-file.c b/gdb/ui-file.c
index afb12b4..47044e4 100644
--- a/gdb/ui-file.c
+++ b/gdb/ui-file.c
@@ -60,12 +60,11 @@ ui_file::putstrn (const char *str, int n, int quoter, bool async_safe)
printchar (str[i], quoter, async_safe);
}
-int
+void
ui_file::putc (int c)
{
char copy = (char) c;
write (&copy, 1);
- return c;
}
void