Remove make_cleanup_restore_current_uiout
[deliverable/binutils-gdb.git] / gdb / ui-out.c
index f6d605041481619b51e08556a9db48d8466d9d61..932cf121a3d95f84e4fd1198e3e17386e34e5da2 100644 (file)
@@ -952,24 +952,6 @@ ui_out_destroy (struct ui_out *uiout)
   xfree (uiout);
 }
 
-/* Cleanup that restores a previous current uiout.  */
-
-static void
-restore_current_uiout_cleanup (void *arg)
-{
-  struct ui_out *saved_uiout = (struct ui_out *) arg;
-
-  current_uiout = saved_uiout;
-}
-
-/* See ui-out.h.  */
-
-struct cleanup *
-make_cleanup_restore_current_uiout (void)
-{
-  return make_cleanup (restore_current_uiout_cleanup, current_uiout);
-}
-
 /* Standard gdb initialization hook.  */
 
 void
This page took 0.025423 seconds and 4 git commands to generate.