aboutsummaryrefslogtreecommitdiff
path: root/gdb/ui-out.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-06-10 00:22:41 +0000
committerAndrew Cagney <cagney@redhat.com>2001-06-10 00:22:41 +0000
commite2e11a41954b154b64ea31a53aca4a7973019749 (patch)
tree51e2fd7d4e79fc95a163810fbe8568d939766100 /gdb/ui-out.h
parentf38fc537cbcfb1f2220c6237ec22a5082ee621b5 (diff)
downloadgdb-e2e11a41954b154b64ea31a53aca4a7973019749.zip
gdb-e2e11a41954b154b64ea31a53aca4a7973019749.tar.gz
gdb-e2e11a41954b154b64ea31a53aca4a7973019749.tar.bz2
Make char *, const char *.
Diffstat (limited to 'gdb/ui-out.h')
-rw-r--r--gdb/ui-out.h25
1 files changed, 16 insertions, 9 deletions
diff --git a/gdb/ui-out.h b/gdb/ui-out.h
index 9fe0be7..3cc24c6 100644
--- a/gdb/ui-out.h
+++ b/gdb/ui-out.h
@@ -190,11 +190,12 @@ extern void gdb_query (struct ui_out *uiout, int qflags, char *qprompt);
/* Type definition of all implementation functions. */
typedef void (table_begin_ftype) (struct ui_out * uiout,
- int nbrofcols, char *tblid);
+ int nbrofcols, const char *tblid);
typedef void (table_body_ftype) (struct ui_out * uiout);
typedef void (table_end_ftype) (struct ui_out * uiout);
typedef void (table_header_ftype) (struct ui_out * uiout, int width,
- enum ui_align align, char *colhdr);
+ enum ui_align align,
+ const char *colhdr);
/* Note: level 0 is the top-level so LEVEL is always greater than
zero. */
typedef void (ui_out_begin_ftype) (struct ui_out *uiout,
@@ -204,19 +205,25 @@ typedef void (ui_out_end_ftype) (struct ui_out *uiout,
enum ui_out_type type,
int level);
typedef void (field_int_ftype) (struct ui_out * uiout, int fldno, int width,
- enum ui_align align, char *fldname, int value);
+ enum ui_align align,
+ const char *fldname, int value);
typedef void (field_skip_ftype) (struct ui_out * uiout, int fldno, int width,
- enum ui_align align, char *fldname);
+ enum ui_align align,
+ const char *fldname);
typedef void (field_string_ftype) (struct ui_out * uiout, int fldno, int width,
- enum ui_align align, char *fldname,
+ enum ui_align align,
+ const char *fldname,
const char *string);
typedef void (field_fmt_ftype) (struct ui_out * uiout, int fldno, int width,
- enum ui_align align, char *fldname,
- char *format, va_list args);
+ enum ui_align align,
+ const char *fldname,
+ const char *format,
+ va_list args);
typedef void (spaces_ftype) (struct ui_out * uiout, int numspaces);
-typedef void (text_ftype) (struct ui_out * uiout, char *string);
+typedef void (text_ftype) (struct ui_out * uiout,
+ const char *string);
typedef void (message_ftype) (struct ui_out * uiout, int verbosity,
- char *format, va_list args);
+ const char *format, va_list args);
typedef void (wrap_hint_ftype) (struct ui_out * uiout, char *identstring);
typedef void (flush_ftype) (struct ui_out * uiout);