diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2016-11-26 22:02:56 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2016-11-26 22:03:18 -0500 |
commit | 7f904c28f5cd2dc91a118ae6169d6993aaf71f63 (patch) | |
tree | 9456ebef8c3769253ee2c0a22fe43381404ed6d2 /gdb/mi | |
parent | 058467371921957ac532ffe0905ffa477f47018e (diff) | |
download | gdb-7f904c28f5cd2dc91a118ae6169d6993aaf71f63.zip gdb-7f904c28f5cd2dc91a118ae6169d6993aaf71f63.tar.gz gdb-7f904c28f5cd2dc91a118ae6169d6993aaf71f63.tar.bz2 |
Remove unused functions and declarations
gdb/ChangeLog:
* ui-out.c (_initialize_ui_out): Remove.
(ui_out_set_flags): Remove.
(ui_out_clear_flags): Remove.
* ui-out.h (ui_out_begin_cleanup_end): Remove.
(ui_out_begin_cleanup_end): Remove.
(ui_out_set_flags): Remove.
(ui_out_clear_flags): Remove.
* mi/mi-out.c (_initialize_mi_out): Remove.
(mi_out_buffered): Remove.
* mi/mi-out.h (mi_out_buffered): Remove.
Diffstat (limited to 'gdb/mi')
-rw-r--r-- | gdb/mi/mi-out.c | 12 | ||||
-rw-r--r-- | gdb/mi/mi-out.h | 1 |
2 files changed, 0 insertions, 13 deletions
diff --git a/gdb/mi/mi-out.c b/gdb/mi/mi-out.c index 9513267..491caf5 100644 --- a/gdb/mi/mi-out.c +++ b/gdb/mi/mi-out.c @@ -95,7 +95,6 @@ static const struct ui_out_impl mi_ui_out_impl = /* Prototypes for local functions */ -extern void _initialize_mi_out (void); static void field_separator (struct ui_out *uiout); static void mi_open (struct ui_out *uiout, const char *name, enum ui_out_type type); @@ -360,17 +359,6 @@ mi_close (struct ui_out *uiout, enum ui_out_type type) data->suppress_field_separator = 0; } -/* Add a string to the buffer. */ - -void -mi_out_buffered (struct ui_out *uiout, char *string) -{ - mi_out_data *data = (mi_out_data *) ui_out_data (uiout); - struct ui_file *stream = VEC_last (ui_filep, data->streams); - - fprintf_unfiltered (stream, "%s", string); -} - /* Clear the buffer. */ void diff --git a/gdb/mi/mi-out.h b/gdb/mi/mi-out.h index ace93bd..ba18950 100644 --- a/gdb/mi/mi-out.h +++ b/gdb/mi/mi-out.h @@ -26,7 +26,6 @@ struct ui_file; extern struct ui_out *mi_out_new (int mi_version); extern void mi_out_put (struct ui_out *uiout, struct ui_file *stream); extern void mi_out_rewind (struct ui_out *uiout); -extern void mi_out_buffered (struct ui_out *uiout, char *string); /* Return the version number of the current MI. */ extern int mi_version (struct ui_out *uiout); |