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/ui-out.c | |
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/ui-out.c')
-rw-r--r-- | gdb/ui-out.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/gdb/ui-out.c b/gdb/ui-out.c index 10f7335..528ea04 100644 --- a/gdb/ui-out.c +++ b/gdb/ui-out.c @@ -179,7 +179,6 @@ static void uo_data_destroy (struct ui_out *uiout); /* Prototypes for local functions */ -extern void _initialize_ui_out (void); static void append_header_to_list (struct ui_out *uiout, int width, enum ui_align alignment, const char *col_name, const char *colhdr); @@ -524,26 +523,6 @@ ui_out_redirect (struct ui_out *uiout, struct ui_file *outstream) return uo_redirect (uiout, outstream); } -/* Set the flags specified by the mask given. */ -int -ui_out_set_flags (struct ui_out *uiout, int mask) -{ - int oldflags = uiout->flags; - - uiout->flags |= mask; - return oldflags; -} - -/* Clear the flags specified by the mask given. */ -int -ui_out_clear_flags (struct ui_out *uiout, int mask) -{ - int oldflags = uiout->flags; - - uiout->flags &= ~mask; - return oldflags; -} - /* Test the flags against the mask given. */ int ui_out_test_flags (struct ui_out *uiout, int mask) @@ -946,11 +925,3 @@ ui_out_destroy (struct ui_out *uiout) clear_table (uiout); xfree (uiout); } - -/* Standard gdb initialization hook. */ - -void -_initialize_ui_out (void) -{ - /* nothing needs to be done */ -} |