* ui-out.h: Remove #if 0 declarations.
authorStan Shebs <shebs@codesourcery.com>
Tue, 12 Jun 2012 00:58:56 +0000 (00:58 +0000)
committerStan Shebs <shebs@codesourcery.com>
Tue, 12 Jun 2012 00:58:56 +0000 (00:58 +0000)
* ui-out.c: Remove #if 0 functions.

gdb/ChangeLog
gdb/ui-out.c
gdb/ui-out.h

index 6b28932..1cbe086 100644 (file)
@@ -1,3 +1,8 @@
+2012-06-11  Stan Shebs  <stan@codesourcery.com>
+
+       * ui-out.h: Remove #if 0 declarations.
+       * ui-out.c: Remove #if 0 functions.
+
 2012-06-11  Pedro Alves  <palves@redhat.com>
 
        * ser-base.c (run_async_handler_and_reschedule): New.
index ec68cdd..afd15f9 100644 (file)
@@ -644,61 +644,6 @@ ui_out_get_verblvl (struct ui_out *uiout)
   return 0;
 }
 
-#if 0
-void
-ui_out_result_begin (struct ui_out *uiout, char *class)
-{
-}
-
-void
-ui_out_result_end (struct ui_out *uiout)
-{
-}
-
-void
-ui_out_info_begin (struct ui_out *uiout, char *class)
-{
-}
-
-void
-ui_out_info_end (struct ui_out *uiout)
-{
-}
-
-void
-ui_out_notify_begin (struct ui_out *uiout, char *class)
-{
-}
-
-void
-ui_out_notify_end (struct ui_out *uiout)
-{
-}
-
-void
-ui_out_error_begin (struct ui_out *uiout, char *class)
-{
-}
-
-void
-ui_out_error_end (struct ui_out *uiout)
-{
-}
-#endif
-
-#if 0
-void
-gdb_error (ui_out * uiout, int severity, char *format,...)
-{
-  va_list args;
-}
-
-void
-gdb_query (struct ui_out *uiout, int qflags, char *qprompt)
-{
-}
-#endif
-
 int
 ui_out_is_mi_like_p (struct ui_out *uiout)
 {
index 4b9725f..0ffe51d 100644 (file)
@@ -142,30 +142,6 @@ extern int ui_out_test_flags (struct ui_out *uiout, int mask);
 extern int ui_out_query_field (struct ui_out *uiout, int colno,
                               int *width, int *alignment, char **col_name);
 
-#if 0
-extern void ui_out_result_begin (struct ui_out *uiout, char *class);
-
-extern void ui_out_result_end (struct ui_out *uiout);
-
-extern void ui_out_info_begin (struct ui_out *uiout, char *class);
-
-extern void ui_out_info_end (struct ui_out *uiout);
-
-extern void ui_out_notify_begin (struct ui_out *uiout, char *class);
-
-extern void ui_out_notify_end (struct ui_out *uiout);
-
-extern void ui_out_error_begin (struct ui_out *uiout, char *class);
-
-extern void ui_out_error_end (struct ui_out *uiout);
-#endif
-
-#if 0
-extern void gdb_error (struct ui_out *uiout, int severity, char *format, ...);
-
-extern void gdb_query (struct ui_out *uiout, int qflags, char *qprompt);
-#endif
-
 /* HACK: Code in GDB is currently checking to see the type of ui_out
    builder when determining which output to produce.  This function is
    a hack to encapsulate that test.  Once GDB manages to separate the