aboutsummaryrefslogtreecommitdiff
path: root/gdb/ui-out.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-06-11 16:34:47 +0000
committerAndrew Cagney <cagney@redhat.com>2001-06-11 16:34:47 +0000
commit88379bafe54d70ae623116af9b8fe8a35e0a65c5 (patch)
tree4ead3d33c314e32750e5cfd8b3631bdbec133faa /gdb/ui-out.h
parentf2d8c86d38baf44a3641bf68e726558b5a765f85 (diff)
downloadgdb-88379bafe54d70ae623116af9b8fe8a35e0a65c5.zip
gdb-88379bafe54d70ae623116af9b8fe8a35e0a65c5.tar.gz
gdb-88379bafe54d70ae623116af9b8fe8a35e0a65c5.tar.bz2
s/char */const char */
Diffstat (limited to 'gdb/ui-out.h')
-rw-r--r--gdb/ui-out.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/gdb/ui-out.h b/gdb/ui-out.h
index 3cc24c6..cc7ddac 100644
--- a/gdb/ui-out.h
+++ b/gdb/ui-out.h
@@ -89,10 +89,10 @@ extern struct cleanup *ui_out_begin_cleanup_end (struct ui_out *uiout,
field, ... }, ... ] }'' */
extern void ui_out_table_begin (struct ui_out *uiout, int nbrofcols,
- char *tblid);
+ const char *tblid);
extern void ui_out_table_header (struct ui_out *uiout, int width,
- enum ui_align align, char *colhdr);
+ enum ui_align align, const char *colhdr);
extern void ui_out_table_body (struct ui_out *uiout);
@@ -114,28 +114,29 @@ extern void ui_out_tuple_end (struct ui_out *uiout);
extern struct cleanup *make_cleanup_ui_out_tuple_begin_end (struct ui_out *uiout,
const char *id);
-extern void ui_out_field_int (struct ui_out *uiout, char *fldname, int value);
+extern void ui_out_field_int (struct ui_out *uiout, const char *fldname,
+ int value);
-extern void ui_out_field_core_addr (struct ui_out *uiout, char *fldname,
+extern void ui_out_field_core_addr (struct ui_out *uiout, const char *fldname,
CORE_ADDR address);
-extern void ui_out_field_string (struct ui_out * uiout, char *fldname,
+extern void ui_out_field_string (struct ui_out * uiout, const char *fldname,
const char *string);
-extern void ui_out_field_stream (struct ui_out *uiout, char *fldname,
+extern void ui_out_field_stream (struct ui_out *uiout, const char *fldname,
struct ui_stream *buf);
-extern void ui_out_field_fmt (struct ui_out *uiout, char *fldname,
- char *format, ...);
+extern void ui_out_field_fmt (struct ui_out *uiout, const char *fldname,
+ const char *format, ...);
-extern void ui_out_field_skip (struct ui_out *uiout, char *fldname);
+extern void ui_out_field_skip (struct ui_out *uiout, const char *fldname);
extern void ui_out_spaces (struct ui_out *uiout, int numspaces);
-extern void ui_out_text (struct ui_out *uiout, char *string);
+extern void ui_out_text (struct ui_out *uiout, const char *string);
extern void ui_out_message (struct ui_out *uiout, int verbosity,
- char *format, ...);
+ const char *format, ...);
extern struct ui_stream *ui_out_stream_new (struct ui_out *uiout);