aboutsummaryrefslogtreecommitdiff
path: root/gdb/ui-out.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-12-30 09:46:02 -0700
committerTom Tromey <tom@tromey.com>2022-01-26 15:19:13 -0700
commit6c92c339539ec87dc12783e9c8f1688a4a370c03 (patch)
tree5f3d0621646cae14436ab8e63edcf3542c236f86 /gdb/ui-out.h
parentbbea68079781ac4c2fc941867ee9888585cafb77 (diff)
downloadbinutils-6c92c339539ec87dc12783e9c8f1688a4a370c03.zip
binutils-6c92c339539ec87dc12783e9c8f1688a4a370c03.tar.gz
binutils-6c92c339539ec87dc12783e9c8f1688a4a370c03.tar.bz2
Convert wrap_here to use integer parameter
I think it only really makes sense to call wrap_here with an argument consisting solely of spaces. Given this, it seemed better to me that the argument be an int, rather than a string. This patch is the result. Much of it was written by a script.
Diffstat (limited to 'gdb/ui-out.h')
-rw-r--r--gdb/ui-out.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ui-out.h b/gdb/ui-out.h
index 0531215..60dd6fc 100644
--- a/gdb/ui-out.h
+++ b/gdb/ui-out.h
@@ -257,7 +257,7 @@ class ui_out
void vmessage (const ui_file_style &in_style,
const char *format, va_list args) ATTRIBUTE_PRINTF (3, 0);
- void wrap_hint (const char *identstring);
+ void wrap_hint (int indent);
void flush ();
@@ -343,7 +343,7 @@ class ui_out
virtual void do_message (const ui_file_style &style,
const char *format, va_list args)
ATTRIBUTE_PRINTF (3,0) = 0;
- virtual void do_wrap_hint (const char *identstring) = 0;
+ virtual void do_wrap_hint (int indent) = 0;
virtual void do_flush () = 0;
virtual void do_redirect (struct ui_file *outstream) = 0;