aboutsummaryrefslogtreecommitdiff
path: root/gdb/ui-out.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2016-11-26 22:05:06 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2016-11-26 22:05:06 -0500
commite4975d6a9cd8aaf3fb14135b36850964def131d7 (patch)
treea108986a4084f2444d27d53be08afc153c0faf1b /gdb/ui-out.h
parent0abe66b59fda0689c32fe9d96b3690b4d49a3027 (diff)
Remove ui_out_destroy
It's not actually used, and removing it simplifies the upcoming patches a bit. After the whole series, destroying an ui_out object will be simply "delete uiout", which will call the default destructor. gdb/ChangeLog: * ui-out.c (ui_out_destroy, uo_data_destroy): Remove. * ui-out.h (ui_out_destroy): Remove.
Diffstat (limited to 'gdb/ui-out.h')
-rw-r--r--gdb/ui-out.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/ui-out.h b/gdb/ui-out.h
index 936ab665fa..864048cc0b 100644
--- a/gdb/ui-out.h
+++ b/gdb/ui-out.h
@@ -228,10 +228,6 @@ extern struct ui_out *ui_out_new (const struct ui_out_impl *impl,
void *data,
int flags);
-/* Destroy a ui_out object. */
-
-extern void ui_out_destroy (struct ui_out *uiout);
-
/* Redirect the ouptut of a ui_out object temporarily. */
extern int ui_out_redirect (struct ui_out *uiout, struct ui_file *outstream);