diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-06-10 00:22:41 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-06-10 00:22:41 +0000 |
commit | cac9f1306b5559c17bd6cc54cdaa05bce42d92ea (patch) | |
tree | a5167d13b03ceedfdd8884ec482d1950e0055dd7 /gdb/ui-out.h | |
parent | 45311dda796f8d17eb5fdc3bb4ee720f496090fe (diff) | |
download | gdb-cac9f1306b5559c17bd6cc54cdaa05bce42d92ea.tar.gz |
Make char *, const char *.
Diffstat (limited to 'gdb/ui-out.h')
-rw-r--r-- | gdb/ui-out.h | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/gdb/ui-out.h b/gdb/ui-out.h index 9fe0be7ae7e..3cc24c651a6 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); |