From dea0a0eab3c8d6093be50f06bd93ddf8b13481d5 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 11 Jun 2001 16:34:47 +0000 Subject: s/char */const char */ --- gdb/ui-out.h | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'gdb/ui-out.h') diff --git a/gdb/ui-out.h b/gdb/ui-out.h index 3cc24c651a6..cc7ddaca51e 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); -- cgit v1.2.1